diff options
author | Valery Piashchynski <[email protected]> | 2022-04-05 20:51:50 +0200 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2022-04-05 20:51:50 +0200 |
commit | 7834636158f26aaa7e8f61d585fc2d7b9392fbc3 (patch) | |
tree | 7be44246dd78e1310335e2d0f2947afc152a05fe /.rr.yaml | |
parent | 08b74400f5ebd75bd33af12c645a38fb38b73c79 (diff) |
config: add file logger options to the `.rr.yaml` and schema2.0.json
Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to '.rr.yaml')
-rw-r--r-- | .rr.yaml | 30 |
1 files changed, 30 insertions, 0 deletions
@@ -109,6 +109,36 @@ logs: # Default: "stderr" err_output: stderr + # File logger options + # + # Default: null + file_logger_options: + + # Path to the file + # + # Default: It uses <processname>-lumberjack.log name in the os tempdir if empty. + log_output: "/tmp/my.log" + + # Max file size in MB + # + # Default: 100 + max_size: 100 + + # max_age is the maximum number of days to retain old log files based on the timestamp encoded in their filename. + # + # Default: 1 (day) + max_age: 1 + + # max_backups is the maximum number of old log files to retain. + # + # Default: retain all (if set to 0) + max_backups : 5 + + # Compress determines if the rotated log files should be compressed using gzip. + # + # Default: false + compress: false + # You can configure each plugin log messages individually (key is plugin name, and value is logging options in same # format as above). # |