" Python defines the following log levels:
DEBUG: Low level system information for debugging purposes
INFO: General system information
WARNING: Information describing a minor problem that has occurred.
ERROR: Information describing a major problem that has occurred.
CRITICAL: Information describing a critical problem that has occurred.
[...]
The logger instance contains an entry method for each of the default log
levels:
logger.critical()
logger.error()
logger.warning()
logger.info()
logger.debug() "
'''My proposals are''':
" Python defines the following log levels:
CRITICAL: Information describing a critical problem that has occurred.
ERROR: Information describing a major problem that has occurred.
WARNING: Information describing a minor problem that has occurred.
INFO: General system information.
DEBUG: Low level system information for debugging purposes.
[...]
The logger instance contains an entry method for each of the default log
levels:
logger.critical()
logger.error()
logger.warning()
logger.info()
logger.debug() "
'''or''':
" Python defines the following log levels:
DEBUG: Low level system information for debugging purposes
INFO: General system information
WARNING: Information describing a minor problem that has occurred.
ERROR: Information describing a major problem that has occurred.
CRITICAL: Information describing a critical problem that has occurred.
[...]
The logger instance contains an entry method for each of the default log
levels:
logger.debug()
logger.info()
logger.warning()
logger.error()
logger.critical() "
--
Ticket URL: <https://code.djangoproject.com/ticket/21425>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* needs_better_patch: => 0
* needs_tests: => 0
* easy: 0 => 1
* needs_docs: => 0
* type: Uncategorized => Cleanup/optimization
* stage: Unreviewed => Accepted
Comment:
The second ordering is consistent with the Python docs.
--
Ticket URL: <https://code.djangoproject.com/ticket/21425#comment:1>
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"3ccc0253f2a29fe6f3227ca96dcab20143188b21"]:
{{{
#!CommitTicketReference repository=""
revision="3ccc0253f2a29fe6f3227ca96dcab20143188b21"
Fixed #21425 -- Made order in which loggers are introduced consistent.
Thanks oubiga for the suggestion.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/21425#comment:2>