mirror of
https://github.com/laravel/laravel.git
synced 2025-02-20 11:53:14 +08:00
update log file name to include sapi name.
This commit is contained in:
parent
4355a334f7
commit
6674b34a64
@ -30,7 +30,9 @@ ClassLoader::addDirectories(array(
|
||||
|
|
||||
*/
|
||||
|
||||
Log::useDailyFiles(__DIR__.'/../storage/logs/log.txt');
|
||||
$logFile = 'log-'.php_sapi_name().'.txt';
|
||||
|
||||
Log::useDailyFiles(__DIR__.'/../storage/logs/'.$logFile);
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
|
Loading…
x
Reference in New Issue
Block a user