The log record, which is created with every logging event, contains readily available diagnostic information such as the file name, full path, function, and line number of the logging event.
Events logged in included modules are automatically accessible via the root logger to your application’s logging stream, unless you filter them out.
Logging can be selectively silenced by using the method logging.Logger.setLevel() or disabled by setting the attribute logging.Logger.disabled to True.
Need to send the logging output to stdout via the subprocess module
The benefits of using the logging module (from the hitchhikers guide to python):
Need to send the logging output to stdout via the subprocess module