protected function runEventLog()
    {
        $logMessage = $this->getEventLogMsg();
        $eventName = $this->eventName;
        if ($logMessage && $eventName) {
            $logElements = $this->getOnEventElements();
            $eventlog = Openbizx::getService(OPENBIZ_EVENTLOG_SERVICE);
            $eventlog->log($eventName, $logMessage, $logElements);
        }
    }