add logging for development environment.