Skip to content

Commit a88c0f3

Browse files
authored
Add link to python docs on logging levels (#9925)
1 parent ccdee08 commit a88c0f3

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

doc/en/how-to/logging.rst

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -176,8 +176,8 @@ logging records as they are emitted directly into the console.
176176

177177
You can specify the logging level for which log records with equal or higher
178178
level are printed to the console by passing ``--log-cli-level``. This setting
179-
accepts the logging level names as seen in python's documentation or an integer
180-
as the logging level num.
179+
accepts the logging level names or numeric values as seen in
180+
:ref:`logging's documentation <python:levels>`.
181181

182182
Additionally, you can also specify ``--log-cli-format`` and
183183
``--log-cli-date-format`` which mirror and default to ``--log-format`` and
@@ -198,9 +198,8 @@ Note that relative paths for the log-file location, whether passed on the CLI or
198198
config file, are always resolved relative to the current working directory.
199199

200200
You can also specify the logging level for the log file by passing
201-
``--log-file-level``. This setting accepts the logging level names as seen in
202-
python's documentation(ie, uppercased level names) or an integer as the logging
203-
level num.
201+
``--log-file-level``. This setting accepts the logging level names or numeric
202+
values as seen in :ref:`logging's documentation <python:levels>`.
204203

205204
Additionally, you can also specify ``--log-file-format`` and
206205
``--log-file-date-format`` which are equal to ``--log-format`` and

0 commit comments

Comments
 (0)