Hey!
my laravel.log is now 259.49 MB big - is it possible to delete it (of course backup it before) in order to get a new, clean log file? That would help to find new bugs faster.
Thanks, @hillel!
I created a new, empty laravel.log, but it doesn’t get updated… so I don’t think that works.
I suggest trying to delete the file you created and allow the app to create the file itself.
That’s what I tried at the beginning, but after approx. 2h the app didn’t create a log file itself.
The app will only generate a log when if/when it needs to write to it. As long as the directory is writable by the webuser, you shouldn’t have to do anything else.
1 Like