allow logging to be turned on/off per environment