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

pull/4924/head
michael 2019-07-22 18:39:28 +00:00
parent bcb057832c
commit 5370849c35
1 changed files with 4 additions and 2 deletions

View File

@ -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
}