File tree Expand file tree Collapse file tree 4 files changed +17
-7
lines changed Expand file tree Collapse file tree 4 files changed +17
-7
lines changed Original file line number Diff line number Diff line change @@ -48,6 +48,8 @@ framework:
4848 fragments : ~
4949 http_method_override : true
5050 assets : ~
51+ php_errors :
52+ log : true
5153
5254# Twig Configuration (used for rendering application templates)
5355twig :
Original file line number Diff line number Diff line change @@ -14,12 +14,20 @@ web_profiler:
1414monolog :
1515 handlers :
1616 main :
17- type : stream
18- path : " %env(SYMFONY_LOG)%"
19- level : info
17+ type : stream
18+ path : ' %env(LOG_URL)%'
19+ level : debug
20+ channels : ['!event']
2021 console :
21- type : console
22- bubble : false
22+ type : console
23+ process_psr_3_messages : false
24+ channels : ['!event', '!doctrine', '!console']
25+ # To follow logs in real time, execute the following command:
26+ # `bin/console server:log -vv`
27+ server_log :
28+ type : server_log
29+ process_psr_3_messages : false
30+ host : 127.0.0.1:9911
2331 # uncomment to get logging in your browser
2432 # you may have to allow bigger header sizes in your Web server configuration
2533 # firephp:
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ monolog:
1919 handler : nested
2020 nested :
2121 type : stream
22- path : " %env(SYMFONY_LOG)% "
22+ path : ' %env(LOG_URL)% '
2323 level : debug
2424 console :
2525 type : console
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ parameters:
1212 env(SYMFONY_SECRET): 'secret_value_for_symfony_demo_application'
1313
1414 # Destination for log files; can also be "php://stderr" etc
15- env(SYMFONY_LOG ): '%kernel.logs_dir%/%kernel.environment%.log'
15+ env(LOG_URL ): '%kernel.logs_dir%/%kernel.environment%.log'
1616
1717 # this demo application uses an embedded SQLite database to simplify setup.
1818 # in a real Symfony application you probably will use a MySQL or PostgreSQL database
You can’t perform that action at this time.
0 commit comments