move logging config into its own file