Logging only enabled when in development mode