Skip to main content

Logging and observability

Broxy emits structured logs for proxy lifecycle, routing, and downstream calls.

Logging streams

  • CLI stdio mode logs to stderr to avoid contaminating MCP traffic.
  • JSON logging includes timestamped events for tracing LLM to proxy to downstream flows.

Key events

  • Server connect/disconnect lifecycle.
  • Capability refreshes and cache updates.
  • Request dispatch and routing decisions.

Use the log level flag in the CLI or the UI settings to reduce noise in production.