Skip to content

Log Configuration ​

Corresponds to the log section of the configuration file.

FieldTypeDefaultDescription
enabledbooltrueWhether to write log files. When disabled, logs go to standard error only; in Windows service mode they are discarded entirely.
filenamestring<data directory>/logs/neokikoeru.logPath of the log file. Missing directories are created automatically.
max_sizeint50Maximum size of a single log file, in MB. The file is rotated once it exceeds this size.
max_backupsint30Maximum number of rotated log files to keep. 0 means no limit.
max_ageint28Number of days to keep rotated logs, in days. 0 means no time-based cleanup.
compressbooltrueWhether to gzip-compress rotated log files.