Adjust logging for envs