# Logging, shaped like Laravel's config/logging.php: records go to the # default channel, and a stack sends them to several channels at once. # Override any key with a SUMMER_LOG__ variable, a double underscore # separating path segments: SUMMER_LOG__CHANNELS__DAILY__DAYS=30. default: stack level: info channels: stack: driver: stack channels: [console, daily] console: # auto: styled lines on a terminal, logfmt otherwise (systemd, Docker); # json writes JSON lines instead. driver: console format: auto daily: # One file per day under storage/logs (summer-YYYY-MM-DD.log), kept 14 days. driver: daily path: storage/logs/summer.log days: 14 format: json level: warn components: # Per-component levels. http: warn silences the request log. river: warn http: info