logging/ascii: Support leftover log rotation in non-supervisor setups

We have a use case to rotate leftover log files in a non-supervisor
setup. There doesn't seem to be a strict requirement on supervisor
functionality. Allow enabling leftover log rotation through
LogAscii::enable_leftover_log_rotation and redef this for the
logger node in a supervisor setup individually.
This commit is contained in:
Arne Welzel 2020-10-01 20:55:34 +02:00
parent c8545c85d8
commit 1f5ab4878b
4 changed files with 12 additions and 4 deletions

View file

@ -11,6 +11,7 @@ const set_separator: string;
const empty_field: string;
const unset_field: string;
const use_json: bool;
const enable_leftover_log_rotation: bool;
const enable_utf_8: bool;
const json_timestamps: JSON::TimestampFormat;
const gzip_level: count;