Turn off logging except when in development