File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -74,6 +74,11 @@ Full Default Configuration
74
74
id : ~ # Required (when the email_prototype is used)
75
75
method : ~
76
76
formatter : ~
77
+ # Setting this parameter to false forces the logger to reduce
78
+ # the precision in the datetime field of the log messages from
79
+ # microsecond to second. Avoiding a call to the microtime(true)
80
+ # function and the subsequent parsing.
81
+ use_microseconds : true
77
82
78
83
.. code-block :: xml
79
84
@@ -86,7 +91,13 @@ Full Default Configuration
86
91
http://symfony.com/schema/dic/monolog
87
92
http://symfony.com/schema/dic/monolog/monolog-1.0.xsd" >
88
93
89
- <monolog : config >
94
+ <!-- By default, use-microseconds is set to true
95
+ including 'use-microseconds="false' forces
96
+ the logger to reduce the precision in the
97
+ datetime field of the log messages from
98
+ microsecond to second. Avoiding a call to the
99
+ microtime(true) function and the subsequent parsing. -->
100
+ <monolog : config use-microseconds =" true" >
90
101
<monolog : handler
91
102
name =" syslog"
92
103
type =" stream"
You can’t perform that action at this time.
0 commit comments