Skip to main content

Log levels

Log levels in increasing verbosity: ERROR, WARNING, INFO (default), DEBUG, TRACE.

Log formats

Text (default)

Human-readable, suitable for local development:

JSON

Structured output for log aggregators (Fluentd, Datadog, GCP Cloud Logging):
Use JSON format in Docker and Kubernetes deployments.

Writing to a file

Or via config:
If omitted, logs are written to stderr.