EventLogging opt-out switch

Change-Id: Iffd3ce1be2abd25005fbc1cca08fa3a9af887558