Drop unused logging.basicConfig format
All loggers defined specify their formatter here
@@ -13,7 +13,6 @@ def initialize():
else:
log_level = logging.INFO
log_file = join(log_dir, CONFIG["logging"]["filename"])
- log_format = "%(asctime)s %(levelname)s:%(message)s"
# messages with info and above are printed to stdout
console_handler = logging.StreamHandler(factory.progressbar())
@@ -33,7 +32,7 @@ def initialize():
file_handler,
console_handler,
]
- logging.basicConfig(format=log_format, handlers=handlers, level=log_level)
+ logging.basicConfig(handlers=handlers, level=log_level)
# Set debug for other components as well
if log_level == logging.DEBUG:
