diable console logging in production mode