* Fixed bug with event logging.