Optional
cutOffFileSize?: number | nullOptional
maxFileAgeMs?: number | nullThe maximum age (in milliseconds) a log file can reach before being rotated.
Default is null
(disabled).
Optional
useCompression?: booleanWhether to compress rotated log files using gzip.
The maximum size (in bytes) a log file can reach before being rotated. Default is 10 MiB.
Set to
null
or0
to disable size-based rotation.