mise à niveau log

This commit is contained in:
afornerot 2020-10-19 10:27:19 +02:00
parent 61702791b9
commit 40ab9ad001
2 changed files with 8 additions and 14 deletions

View File

@ -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
}

View File

@ -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%'] }