Moving event log logic to TracingWorker

Author: Maulik Patel