Skip to content

1212 - Logger Config

Structured logging configuration. This is an example of a MAML document.

maml
{
  level: "info"
  format: "logfmt"
  timestamp: true
  caller: false # include file:line

  output: "/var/log/app.log"
  rotation: false
  max_size_mb: 292
  max_age_days: 62
  compress: true
}

See Also