Autodetect when logs should be reopen
This commit is contained in:
parent
7429218a4b
commit
f2f6f56a98
2 changed files with 1 additions and 5 deletions
|
@ -1,10 +1,6 @@
|
||||||
/var/log/hyperkitty/*.log {
|
/var/log/hyperkitty/*.log {
|
||||||
missingok
|
missingok
|
||||||
notifempty
|
notifempty
|
||||||
sharedscripts
|
|
||||||
delaycompress
|
delaycompress
|
||||||
su root apache
|
su root apache
|
||||||
postrotate
|
|
||||||
/sbin/service httpd reload > /dev/null 2>/dev/null || true
|
|
||||||
endscript
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -262,7 +262,7 @@ LOGGING = {
|
||||||
'file':{
|
'file':{
|
||||||
'level': 'INFO',
|
'level': 'INFO',
|
||||||
#'class': 'logging.handlers.RotatingFileHandler',
|
#'class': 'logging.handlers.RotatingFileHandler',
|
||||||
'class': 'logging.FileHandler',
|
'class': 'logging.handlers.WatchedFileHandler',
|
||||||
'filename': '/var/log/hyperkitty/hyperkitty.log',
|
'filename': '/var/log/hyperkitty/hyperkitty.log',
|
||||||
'formatter': 'verbose',
|
'formatter': 'verbose',
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue