Fixed logging bug on multiple executions.

The logging handlers were being pushed to the logger instance on each execution, and were therefore generating logger output with a multiplicity equal to the number of executions. Fixed.