update log file name to include sapi name.

This commit is contained in:
Taylor Otwell 2013-02-08 11:14:17 -06:00
parent 4355a334f7
commit 6674b34a64
1 changed files with 3 additions and 1 deletions

View File

@ -30,7 +30,9 @@
| |
*/ */
Log::useDailyFiles(__DIR__.'/../storage/logs/log.txt'); $logFile = 'log-'.php_sapi_name().'.txt';
Log::useDailyFiles(__DIR__.'/../storage/logs/'.$logFile);
/* /*
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------