moving logging config to globals