INFO, you will receive all info messages and above including
FATAL. However, you will not receive
DEBUGlevel messages. The same goes for a log level of
WARNING, where you will receive
FATALbut you will not receive INFO, or
filesetting under the
[log.logging]section of the application configuration.
app.log.debug()is pretty straightforward. However, adding an additional parameter for the
namespacecan greatly increase insight into where that log is happening. The
namespacedefaults to the application name which you will see in every log like this:
__file__and the function or class method:
LogHandleritself, or by sub-classing an existing extension's handlers in order to alter their functionality.