Change logging configuration to work on all envs