basicConfig
creates the root logger, attaches a console handler(by
basic.stdout name) to it and sets the level of the handler to
level
. You must not call basicConfig
to for logger to work any more:
then root logger is created it gets initialized by default the same way as
basicConfig
does. If you need clear logger to fill with you own handlers
use logReset
to remove all default handlers.
logReset
reinitializes the whole logging system as if the package had just been
loaded except it also removes all default handlers. Typically, you would want to call
basicConfig
immediately after a call to logReset
.