Implemented progress logging.