Example 14919

Logger Config

Structured logging configuration.

{
level: "warn"
format: "json"
timestamp: true
caller: false # include file:line

output: "/var/log/app.log"
rotation: false
max_size_mb: 203
max_age_days: 15
compress: true
}

See also