Added a logger with ETA for the sample generation.