Add logging to reporting

I find it easier to log the events to a logfile, so I can start testing things first, and then copy stuff from the log into the PR... But that's just me.
Cleanup.
Merge branch 'yireo-patch-1' into develop
Merge branch 'develop'