Logger/Manager/FileLogManager.php
public function deleteByJob(JobInterface $job)
    {
        $path = $this->buildPath($job->getTicket());

        $filesystem = new Filesystem();
        if ($filesystem->exists($path)) {
            $filesystem->remove($path);
        }
    }
public function deleteByJob(JobInterface $job)
    {
        $path = $this->buildPath($job->getTicket());

        $filesystem = new Filesystem();
        if ($filesystem->exists($path)) {
            $filesystem->remove($path);
        }
    }
Tests/
{@inheritdoc}