Logger/Handler/JobAwareOrmHandler.php
protected function write(array $record)
    {
        $log = $this->manager->create();

        $record['extra']['job_ticket'] = $this->job->getTicket();

        $this->populateLog($log, $record);

        $this->manager->save($log);
    }
protected function write(array $record)
    {
        $log = $this->manager->create();

        $record['extra']['job_ticket'] = $this->job->getTicket();

        $this->populateLog($log, $record);

        $this->manager->save($log);
    }
Sets the job ticket in $record['extra']['job_ticket']

{@inheritdoc}