Enable logging only in development mode