Turning off logging for production mode