The logging module provides a flexible facility for applications to log events, errors, warnings, and debugging information. This information can be collected, filtered, written to files, sent to the system log, and even sent over the network to remote machines.
Five different levels of information are collected by the logging module. These levels have both a symbolic name and a numerical value that is used for filtering:
|NOTSET||0||No level set|
In the most simple case, logging messages are issued by an application and sent to a special Logging object known as the root logger. By default, the ...