Remove deprecation logging by default and added env to reenable it again

The files can easily get quite large and probably also not good for performance. This fixes issue #1405
This commit is contained in:
Jan Böhmer 2026-06-14 23:19:59 +02:00
parent ef7e6d6f3b
commit 12f4a3606e
3 changed files with 17 additions and 1 deletions

10
.env
View file

@ -149,6 +149,16 @@ DISABLE_YEAR2038_BUG_CHECK=0
#TRUSTED_PROXIES=127.0.0.0/8,::1,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16
#TRUSTED_HOSTS='^(localhost|example\.com)$'
###################################################################################
# Logging settings
###################################################################################
# The minimum level a deprecation notice must have to be written to the var/log/<env>_deprecations.log file.
# Deprecation notices are logged with level "info", so this disables the deprecation log by default.
# Set to debug to log all deprecation notices
DEPRECATION_LOG_LEVEL=emergency
###> symfony/lock ###
# Choose one of the stores below