put logging config in main config file