File tree Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ allows you to log the messages in several ways easily.
55
55
# app/config/config*.yml
56
56
monolog :
57
57
handlers :
58
- syslog :
58
+ applog :
59
59
type : stream
60
60
path : /var/log/symfony.log
61
61
level : error
@@ -66,7 +66,9 @@ allows you to log the messages in several ways easily.
66
66
file :
67
67
type : stream
68
68
level : debug
69
-
69
+ syslog :
70
+ type : syslog
71
+ level : error
70
72
.. code-block :: xml
71
73
72
74
<container xmlns =" http://symfony.com/schema/dic/services"
@@ -77,7 +79,7 @@ allows you to log the messages in several ways easily.
77
79
78
80
<monolog : config >
79
81
<monolog : handler
80
- name =" syslog "
82
+ name =" applog "
81
83
type =" stream"
82
84
path =" /var/log/symfony.log"
83
85
level =" error"
@@ -93,6 +95,11 @@ allows you to log the messages in several ways easily.
93
95
type =" stream"
94
96
level =" debug"
95
97
/>
98
+ <monolog : handler
99
+ name =" syslog"
100
+ type =" syslog"
101
+ level =" error"
102
+ />
96
103
</monolog : config >
97
104
</container >
98
105
You can’t perform that action at this time.
0 commit comments