Support the ongoing development of Laravel.io →
Configuration

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?

Last updated 3 years ago.
0

@mistakevin did you ever find a fix for this? I'd love to use this feature as well.

0

I made a package that can tail the last created daily log file. At the moment, only the local log is supported.

0

Sign in to participate in this thread!

Eventy

Your banner here too?

mistakevin mistakevin Joined 12 Aug 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.