eidaqc.eida_logger module
- eidaqc.eida_logger.configure_handlers(logger, loglevel_console, loglevel_file, eia_tmp_path, log_timeunit, log_backupcount, log_interval)
- eidaqc.eida_logger.create_logger()
Manage logging behavior
Warning
Filenames (and paths probably too) must not contain “.” otherwise the automatic deletion of backup files does not work
Notes
See https://docs.python.org/3/howto/logging.html#logging-basic-tutorial
https://docs.python.org/3/howto/logging-cookbook.html#using-logging-in-multiple-modules
- TimedRotatingFileHandler splits the path and filename base at “.” and then
uses regular expressions