user lumberjack rotate instead (#1492)
This commit is contained in:
parent
2dcce2ae72
commit
ddfe95e45d
2 changed files with 3 additions and 9 deletions
|
@ -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/
|
||||
|
|
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