added generating output samples to log file