Produce log every 1000 records produced

If no output is produced, the connection to the docker container
eventually times out.