diff --git a/config/config.yaml b/config/config.yaml index 79552a033..f2783dbfc 100644 --- a/config/config.yaml +++ b/config/config.yaml @@ -4,6 +4,9 @@ common: log_media: file log_level: info log_dir: /var/log/ + log_max_size: 20 + compress_logs: true + log_max_files: 10 working_dir: . config_paths: config_dir: /etc/crowdsec/ diff --git a/debian/crowdsec.logrotate b/debian/crowdsec.logrotate deleted file mode 100644 index ff1e12b7b..000000000 --- a/debian/crowdsec.logrotate +++ /dev/null @@ -1,9 +0,0 @@ -/var/log/crowdsec.log -/var/log/crowdsec_api.log -{ - rotate 4 - daily - compress - missingok - notifempty -}