Logging to event execution log bug fix