Added support for log events.