Browse Source

Move to single file log setup for simplicity.

Taylor Otwell 11 years ago
parent
commit
088f4b69b6
1 changed files with 2 additions and 4 deletions
  1. 2 4
      app/start/global.php

+ 2 - 4
app/start/global.php

@@ -27,13 +27,11 @@ ClassLoader::addDirectories(array(
 |
 | Here we will configure the error logger setup for the application which
 | is built on top of the wonderful Monolog library. By default we will
-| build a rotating log file setup which creates a new file each day.
+| build a basic log file setup which creates a single file for logs.
 |
 */
 
-$logFile = 'log-'.php_sapi_name().'.txt';
-
-Log::useDailyFiles(storage_path().'/logs/'.$logFile);
+Log::useFiles(storage_path().'/logs/laravel.log');
 
 /*
 |--------------------------------------------------------------------------