Skip to main content

File

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

Config​

FieldTypeRequiredDefaultNotes
providerfile✅ Yes—Selects the file provider.
enabledboolean❌ NotrueEnables/disables logging globally.
serviceNamestring❌ No—Included in each JSON log line if set.
retentionDaysnumber❌ No—If set, old daily files are deleted.

Output format​

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