Skip to content

logging

The logging section controls gateway log verbosity and output format.

Fields

Field Type Default Notes
level string info typical values: debug, info, warn, error
format string console console or json

Example

logging:
  level: "info"
  format: "json"

Practical guidance

  • Use console for local development.
  • Use json when logs feed into a collector or central logging stack.
  • Be careful with debug in production because request-path logs get noisier very quickly.