mikemand / logviewer

Laravel 4 LogViewer
http://logviewer.kmdwebdesigns.com/
MIT License
225 stars 39 forks source link

Log naming system changed #65

Closed freezedriedpop closed 10 years ago

freezedriedpop commented 10 years ago

Unless i'm mistaken (only just upgraded) In Laravel 4.1> the log file has been changed to a single file called laravel.log (daily files are optional as well).

So this will need to be updated.

For anyone else reading this who wants a very quick fix, you can do something like this in "start/global.php"

Log::useDailyFiles(storage_path().'/logs/log-cgi-fcgi.txt');

Logviewer will pick this up, although i'm not actually recommending it, it's just a quick fix until logviewer can be updated.

mikemand commented 10 years ago

I put up a message in the README about Laravel 4.2's log file changes. I am not a fan of how it is being handled now - all in one file. I have yet to have the time to figure out if Laravel purges this file, or if it will continue to grow until it becomes too much for PHP to read (without tweaking the memory settings).