Fix build failure in EventLogger class.

Target: trunk
Request: 2.7
Require-notes: no
Require-book: no
Patch: none