(bug 44489) Opt-in EventLogging.

* Remove gt-hide (not reachable)
* Make pingServer private and minor refactoring

Change-Id: I485e81c39d074a326481c206b0b2eda7bd040bf5