Skip to content

006 - Logger Config

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

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

  output: "/var/log/app.log"
  rotation: true
  max_size_mb: 57
  max_age_days: 44
  compress: true
}

See Also