reduire les logs
This commit is contained in:
parent
3a1da0f3fd
commit
61702791b9
|
@ -1,6 +1,11 @@
|
||||||
/var/www/html/ninegate/var/logs/*.log {
|
/var/www/html/ninegate/var/logs/*.log {
|
||||||
rotate 5
|
maxsize 50M
|
||||||
daily
|
daily
|
||||||
su www-data
|
missingok
|
||||||
|
rotate 5
|
||||||
|
compress
|
||||||
|
notifempty
|
||||||
|
nocreate
|
||||||
|
su www-data
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -19,7 +19,7 @@ monolog:
|
||||||
type: rotating_file
|
type: rotating_file
|
||||||
path: '%kernel.logs_dir%/%kernel.environment%.log'
|
path: '%kernel.logs_dir%/%kernel.environment%.log'
|
||||||
level: error
|
level: error
|
||||||
max_files: 10
|
max_files: 5
|
||||||
|
|
||||||
framework:
|
framework:
|
||||||
#esi: ~
|
#esi: ~
|
||||||
|
|
Loading…
Reference in New Issue