mirror of https://github.com/MISP/MISP
slightly modified logroate config which rotates all logs in MISP/app/tmp/logs when they reach a 50MB limit, with maximum log size set to 500M. rotation is checked every hour
parent
bcb057832c
commit
5370849c35
|
@ -1,10 +1,12 @@
|
|||
/var/www/MISP/app/tmp/logs/resque-*-error.log {
|
||||
/var/www/MISP/app/tmp/logs/*.log {
|
||||
rotate 30
|
||||
dateext
|
||||
missingok
|
||||
notifempty
|
||||
compress
|
||||
weekly
|
||||
hourly
|
||||
size 50M
|
||||
maxsize 500M
|
||||
copytruncate
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue