Improved deployment, logs and update docs.

This commit is contained in:
2025-05-31 14:23:55 +02:00
parent 1523a45008
commit 89eef326a7
6 changed files with 42 additions and 6 deletions
+2 -2
View File
@@ -8,13 +8,13 @@ when@dev:
main:
type: rotating_file
path: "%kernel.logs_dir%/%kernel.environment%.log"
level: debug
level: info
channels: ["!event", "!doctrine"]
max_files: 0
doctrine:
type: rotating_file
path: "%kernel.logs_dir%/db_%kernel.environment%.log"
level: debug
level: info
channels: ["doctrine", "request"]
max_files: 10
# uncomment to get logging in your browser
+5
View File
@@ -4,6 +4,11 @@
# Put parameters here that don't need to change on each machine where the app is deployed
# https://symfony.com/doc/current/best_practices.html#use-parameters-for-application-configuration
parameters:
# Allow custom path for log files.
env(SOMNIA_LOGSDIR): '/somnia_logs'
kernel.logs_dir: '%env(SOMNIA_LOGSDIR)%'
# Set default value for APP_SECRET.
env(APP_SECRET): 'ChangeMySecret'
services:
# default configuration for services in *this* file