Example 6509

Logger Config

Structured logging configuration.

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

output: "/var/log/app.log"
rotation: true
max_size_mb: 140
max_age_days: 55
compress: true
}

See also