Example 18118

Logger Config

Structured logging configuration.

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

output: "/var/log/app.log"
rotation: false
max_size_mb: 406
max_age_days: 34
compress: true
}

See also