In, at least, Laravel 4.2, you have the useful option of using daily log files by putting
$logFile = 'laravel.log';
Log::useDailyFiles(storage_path().'/logs/'.$logFile);
in your app/start/global.php start file as documented here.
Laravel 4.2 also has a feature where you can tail the log file by using the 'php artisan tail' command, even over ssh, as documented here
Is there anyway to get these features to work together? Maybe it can find determine the latest created log file in the folder?
I made a package that can tail the last created daily log file. At the moment, only the local log is supported.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community