user lumberjack rotate instead (#1492)
This commit is contained in:
parent
2dcce2ae72
commit
ddfe95e45d
|
@ -4,6 +4,9 @@ common:
|
||||||
log_media: file
|
log_media: file
|
||||||
log_level: info
|
log_level: info
|
||||||
log_dir: /var/log/
|
log_dir: /var/log/
|
||||||
|
log_max_size: 20
|
||||||
|
compress_logs: true
|
||||||
|
log_max_files: 10
|
||||||
working_dir: .
|
working_dir: .
|
||||||
config_paths:
|
config_paths:
|
||||||
config_dir: /etc/crowdsec/
|
config_dir: /etc/crowdsec/
|
||||||
|
|
9
debian/crowdsec.logrotate
vendored
9
debian/crowdsec.logrotate
vendored
|
@ -1,9 +0,0 @@
|
||||||
/var/log/crowdsec.log
|
|
||||||
/var/log/crowdsec_api.log
|
|
||||||
{
|
|
||||||
rotate 4
|
|
||||||
daily
|
|
||||||
compress
|
|
||||||
missingok
|
|
||||||
notifempty
|
|
||||||
}
|
|
Loading…
Reference in a new issue