Move logging to EventLog