Only log in production mode