Example 7911

Logger Config

Structured logging configuration.

{
level: "trace"
format: "pretty"
timestamp: true
caller: false # include file:line

output: "/var/log/app.log"
rotation: false
max_size_mb: 403
max_age_days: 27
compress: true
}

See also