Use logging for better progress tracking