mise à niveau log
This commit is contained in:
parent
61702791b9
commit
40ab9ad001
@ -1,11 +1,13 @@
|
||||
/var/www/html/ninegate/var/logs/*.log {
|
||||
maxsize 50M
|
||||
su root www-data
|
||||
daily
|
||||
missingok
|
||||
rotate 5
|
||||
rotate 7
|
||||
size 900
|
||||
maxage 7
|
||||
compress
|
||||
notifempty
|
||||
nocreate
|
||||
su www-data
|
||||
dateext
|
||||
dateformat -%Y%m%d
|
||||
missingok
|
||||
create 644 www-data www-data
|
||||
}
|
||||
|
||||
|
@ -13,14 +13,6 @@ imports:
|
||||
parameters:
|
||||
locale: fr
|
||||
|
||||
monolog:
|
||||
handlers:
|
||||
main:
|
||||
type: rotating_file
|
||||
path: '%kernel.logs_dir%/%kernel.environment%.log'
|
||||
level: error
|
||||
max_files: 5
|
||||
|
||||
framework:
|
||||
#esi: ~
|
||||
#translator: { fallbacks: ['%locale%'] }
|
||||
|
Loading…
Reference in New Issue
Block a user