Documentation and use of the logging module