enable logging in production