move the logging config to the logging module