Skip to content

[Logger] Just moving this note upwards #14858

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 20, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions logging.rst
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,13 @@ to write logs using the :phpfunction:`syslog` function:
This defines a *stack* of handlers and each handler is called in the order that it's
defined.

.. note::

If you want to override the ``monolog`` configuration via another config
file, you will need to redefine the entire ``handlers`` stack. The configuration
from the two files cannot be merged because the order matters and a merge does
not allow to control the order.

Handlers that Modify Log Entries
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

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

.. note::

If you want to override the ``monolog`` configuration via another config
file, you will need to redefine the entire ``handlers`` stack. The configuration
from the two files cannot be merged because the order matters and a merge does
not allow to control the order.

All Built-in Handlers
---------------------

Expand Down