fails to create log files
if users does not have write rights on the cwd it ends up with an IO error (unable to create the log file). Even if the user defined an output folder (of the rec) where he has rights.
Maybe this error could be catched or the log file moved somewhere else in the case (temporary folder?)