1 year ago

Laravel not creating log file?

Posted 1 year ago by uccdev

I've got a laravel schedule running on my server, but despite successful execution, I am not getting a log file for today. I have log files for yesterday but not today.

Why does something like this happen? What can I do about it?

EDIT: To clarify, my config/app.php is currently set up as:

      'aliases' => [
            'Log' => Illuminate\Support\Facades\Log::class,
  ], ...

So it makes different log files, one per day. However, it's not made today's log file. I don't understand why.

EDIT: Disregard. The issue was simply that my Homestead virtual machine hadn't loaded properly. A simple restart did the trick.

Please sign in or create an account to participate in this conversation.