Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 19d170e

Browse files
committed
Merge branch '5.1' into 5.2
* 5.1: Just moving this note upwards
2 parents 32d99f9 + 77a9380 commit 19d170e

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

logging.rst

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,13 @@ to write logs using the :phpfunction:`syslog` function:
159159
This defines a *stack* of handlers and each handler is called in the order that it's
160160
defined.
161161

162+
.. note::
163+
164+
If you want to override the ``monolog`` configuration via another config
165+
file, you will need to redefine the entire ``handlers`` stack. The configuration
166+
from the two files cannot be merged because the order matters and a merge does
167+
not allow to control the order.
168+
162169
Handlers that Modify Log Entries
163170
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
164171

@@ -263,13 +270,6 @@ debugging much easier!
263270
The handler named "file_log" will not be included in the stack itself as
264271
it is used as a nested handler of the ``fingers_crossed`` handler.
265272

266-
.. note::
267-
268-
If you want to override the ``monolog`` configuration via another config
269-
file, you will need to redefine the entire ``handlers`` stack. The configuration
270-
from the two files cannot be merged because the order matters and a merge does
271-
not allow to control the order.
272-
273273
All Built-in Handlers
274274
---------------------
275275

0 commit comments

Comments
 (0)