We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2f31bab commit 421b74eCopy full SHA for 421b74e
1 file changed
Doc/library/logging.rst
@@ -2558,6 +2558,13 @@ initialized with the empty string, all events are passed.
2558
yes. If deemed appropriate, the record may be modified in-place by this
2559
method.
2560
2561
+Note that filters attached to handlers are consulted whenever an event is
2562
+emitted by the handler, whereas filters attached to loggers are consulted
2563
+whenever an event is logged to the handler (using :meth:`debug`, :meth:`info`,
2564
+etc.) This means that events which have been generated by descendant loggers
2565
+will not be filtered by a logger's filter setting, unless the filter has also
2566
+been applied to those descendant loggers.
2567
+
2568
.. _log-record:
2569
2570
LogRecord Objects
0 commit comments