File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -564,8 +564,9 @@ Programmers can configure logging in three ways:
5645643. Creating a dictionary of configuration information and passing it
565565 to the :func: `dictConfig ` function.
566566
567- The following example configures a very simple logger, a console
568- handler, and a simple formatter using Python code::
567+ For the reference documentation on the last two options, see :ref: `config-ref `.
568+ The following example configures a very simple logger, a console handler, and
569+ a simple formatter using Python code::
569570
570571 import logging
571572
@@ -704,8 +705,8 @@ the new dictionary-based approach::
704705 handlers: [console]
705706 propagate: no
706707 root:
707- level: DEBUG
708- handlers: [console]
708+ level: DEBUG
709+ handlers: [console]
709710
710711For more information about logging using a dictionary, see
711712:ref: `logging-config-api `.
@@ -3761,6 +3762,8 @@ with the :mod:`warnings` module.
37613762 (i.e. those in effect before `captureWarnings(True) ` was called).
37623763
37633764
3765+ .. _config-ref :
3766+
37643767Configuration
37653768-------------
37663769
You can’t perform that action at this time.
0 commit comments