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¶
Practical guidance¶
- Use
consolefor local development. - Use
jsonwhen logs feed into a collector or central logging stack. - Be careful with
debugin production because request-path logs get noisier very quickly.