Turn off logging in released version, but still allow logging easily.