github.com/Jeffail/benthos/v3@v3.65.0/website/docs/components/logger/about.md (about)

     1  ---
     2  title: Logger
     3  ---
     4  
     5  Benthos logging prints to stdout (or stderr if your output is stdout), and is formatted as JSON by default.
     6  
     7  ```yaml
     8  logger:
     9    level: INFO
    10    format: json
    11    add_timestamp: true
    12    static_fields:
    13      '@service': benthos
    14  ```
    15  
    16  Possible log levels are `OFF`, `FATAL`, `ERROR`, `WARN`, `INFO`, `DEBUG`, `TRACE` and `ALL`.
    17  
    18  Possible log formats are `json`, `logfmt` and `classic`.