Add link to python docs on logging levels (#9925)

This commit is contained in:
Pax 2022-05-11 01:02:36 -07:00 committed by GitHub
parent ccdee08ddd
commit a88c0f3bb0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 5 deletions

View File

@ -176,8 +176,8 @@ logging records as they are emitted directly into the console.
You can specify the logging level for which log records with equal or higher You can specify the logging level for which log records with equal or higher
level are printed to the console by passing ``--log-cli-level``. This setting level are printed to the console by passing ``--log-cli-level``. This setting
accepts the logging level names as seen in python's documentation or an integer accepts the logging level names or numeric values as seen in
as the logging level num. :ref:`logging's documentation <python:levels>`.
Additionally, you can also specify ``--log-cli-format`` and Additionally, you can also specify ``--log-cli-format`` and
``--log-cli-date-format`` which mirror and default to ``--log-format`` and ``--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
config file, are always resolved relative to the current working directory. config file, are always resolved relative to the current working directory.
You can also specify the logging level for the log file by passing You can also specify the logging level for the log file by passing
``--log-file-level``. This setting accepts the logging level names as seen in ``--log-file-level``. This setting accepts the logging level names or numeric
python's documentation(ie, uppercased level names) or an integer as the logging values as seen in :ref:`logging's documentation <python:levels>`.
level num.
Additionally, you can also specify ``--log-file-format`` and Additionally, you can also specify ``--log-file-format`` and
``--log-file-date-format`` which are equal to ``--log-format`` and ``--log-file-date-format`` which are equal to ``--log-format`` and