reduire les logs

This commit is contained in:
afornerot 2020-10-16 11:12:29 +02:00
parent 3a1da0f3fd
commit 61702791b9
2 changed files with 9 additions and 4 deletions

View File

@ -1,6 +1,11 @@
/var/www/html/ninegate/var/logs/*.log { /var/www/html/ninegate/var/logs/*.log {
rotate 5 maxsize 50M
daily daily
missingok
rotate 5
compress
notifempty
nocreate
su www-data su www-data
} }

View File

@ -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: ~