protected function ensureOutputIsBeingCapturedForEyewitness()
    {
        if (! config('eyewitness.capture_cron_output')) {
            return;
        }

        if ($this->outputNotBeingCaptured()) {
            $this->output = storage_path('logs/eyewitness-cron-'.sha1($this->mutexName()).'.cron.log');
        }
    }