move logging configuration to config.py