Logging in python

It’s just a wee bit tricky to set up python logging such that each module has its own logger and the logger level is controlled by a main script. The way to do that is illustrated below. The crucial line is logging.basicConfig(level=logging.DEBUG) in the main script. This line sets up all the loggers from root… Read More Logging in python