Sending the output of executions to log files