Skip to content

Basic logging tutorial: Confusing matrix and use of word "above" #113350

@epa095

Description

@epa095

Documentation

This is about the log level table in https://docs.python.org/3/howto/logging.html#when-to-use-logging

It has "Debug" on top and "Critical" on the bottom, and underneath it it says:

The default level is WARNING, which means that only events of this level and above will be tracked, unless the logging package is configured to do otherwise.

In this sentence, "above" probably relates to the numeric values of the errors, which is sorted in the opposite order than the table. Since the table is arranged as it is, the default is actually to show events of level "WARNING" and below in the table.

The easiest and most consistent is probably to reorder the table?

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsDocumentation in the Doc direasy

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions