Skip to main content

File

The file provider writes JSON lines to daily files under ./logs in the app working directory.

Config

FieldTypeRequiredDefaultNotes
providerfile✅ YesSelects the file provider.
enabledboolean❌ NotrueEnables/disables logging globally.
serviceNamestring❌ NoIncluded in each JSON log line if set.
retentionDaysnumber❌ NoIf set, old daily files are deleted.

Output format

Each log line is a JSON object with fields like: timestamp, level, message, serviceName, context, stack.