Log Configuration
Corresponds to the log section of the configuration file.
| Field | Type | Default | Description |
|---|---|---|---|
enabled | bool | true | Whether to write log files. When disabled, logs go to standard error only; in Windows service mode they are discarded entirely. |
filename | string | <data directory>/logs/neokikoeru.log | Path of the log file. Missing directories are created automatically. |
max_size | int | 50 | Maximum size of a single log file, in MB. The file is rotated once it exceeds this size. |
max_backups | int | 30 | Maximum number of rotated log files to keep. 0 means no limit. |
max_age | int | 28 | Number of days to keep rotated logs, in days. 0 means no time-based cleanup. |
compress | bool | true | Whether to gzip-compress rotated log files. |
