turns logging of in development mode