mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-05-12 10:56:20 +08:00
Autodetect when logs should be reopen
This commit is contained in:
@@ -1,10 +1,6 @@
|
||||
/var/log/hyperkitty/*.log {
|
||||
missingok
|
||||
notifempty
|
||||
sharedscripts
|
||||
delaycompress
|
||||
su root apache
|
||||
postrotate
|
||||
/sbin/service httpd reload > /dev/null 2>/dev/null || true
|
||||
endscript
|
||||
}
|
||||
|
||||
@@ -262,7 +262,7 @@ LOGGING = {
|
||||
'file':{
|
||||
'level': 'INFO',
|
||||
#'class': 'logging.handlers.RotatingFileHandler',
|
||||
'class': 'logging.FileHandler',
|
||||
'class': 'logging.handlers.WatchedFileHandler',
|
||||
'filename': '/var/log/hyperkitty/hyperkitty.log',
|
||||
'formatter': 'verbose',
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user