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:
48
48
fragments : ~
49
49
http_method_override : true
50
50
assets : ~
51
+ php_errors :
52
+ log : true
51
53
52
54
# Twig Configuration (used for rendering application templates)
53
55
twig :
Original file line number Diff line number Diff line change @@ -14,12 +14,20 @@ web_profiler:
14
14
monolog :
15
15
handlers :
16
16
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']
20
21
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
23
31
# uncomment to get logging in your browser
24
32
# you may have to allow bigger header sizes in your Web server configuration
25
33
# firephp:
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ monolog:
19
19
handler : nested
20
20
nested :
21
21
type : stream
22
- path : " %env(SYMFONY_LOG)% "
22
+ path : ' %env(LOG_URL)% '
23
23
level : debug
24
24
console :
25
25
type : console
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ parameters:
12
12
env(SYMFONY_SECRET): 'secret_value_for_symfony_demo_application'
13
13
14
14
# 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'
16
16
17
17
# this demo application uses an embedded SQLite database to simplify setup.
18
18
# 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