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 { /var/www/html/ninegate/var/logs/*.log {
maxsize 50M su root www-data
daily daily
missingok rotate 7
rotate 5 size 900
maxage 7
compress compress
notifempty dateext
nocreate dateformat -%Y%m%d
su www-data missingok
create 644 www-data www-data
} }

View File

@ -13,14 +13,6 @@ imports:
parameters: parameters:
locale: fr locale: fr
monolog:
handlers:
main:
type: rotating_file
path: '%kernel.logs_dir%/%kernel.environment%.log'
level: error
max_files: 5
framework: framework:
#esi: ~ #esi: ~
#translator: { fallbacks: ['%locale%'] } #translator: { fallbacks: ['%locale%'] }