Allow logging in production and set defaults accordingly for production/development