Skip to content

Commit 9c0a6b4

Browse files
committed
Update logs configuration
1 parent 3669fa2 commit 9c0a6b4

File tree

2 files changed

+15
-5
lines changed

2 files changed

+15
-5
lines changed

app/config/config.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff 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)
5355
twig:

app/config/config_dev.yml

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,20 @@ web_profiler:
1414
monolog:
1515
handlers:
1616
main:
17-
type: stream
18-
path: "%env(SYMFONY_LOG)%"
19-
level: info
17+
type: stream
18+
path: "%env(SYMFONY_LOG)%"
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:

0 commit comments

Comments
 (0)