Changed logging to use a custom Event Log.