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 {
rotate 5
daily
su www-data
maxsize 50M
daily
missingok
rotate 5
compress
notifempty
nocreate
su www-data
}

View File

@ -19,7 +19,7 @@ monolog:
type: rotating_file
path: '%kernel.logs_dir%/%kernel.environment%.log'
level: error
max_files: 10
max_files: 5
framework:
#esi: ~