Python provides us with a default root logger which is the topmost logger. By default, loggers in python follow a hierarchical order, where logs are propagated upwards to their parents until the log reaches the root logger. Handlers assist in the decision-making of whether to process a log message based on the log's priority.

9m read timeFrom moreabouttech.com
Post cover image
Table of contents
Logging componentsLoggersHandlersFormattersTidy up logging with configurationsConclusion
8 Comments

Sort: