Commit 088f4b69 authored by Taylor Otwell's avatar Taylor Otwell

Move to single file log setup for simplicity.

parent 80b1c853
...@@ -27,13 +27,11 @@ ClassLoader::addDirectories(array( ...@@ -27,13 +27,11 @@ ClassLoader::addDirectories(array(
| |
| Here we will configure the error logger setup for the application which | 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 | 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::useFiles(storage_path().'/logs/laravel.log');
Log::useDailyFiles(storage_path().'/logs/'.$logFile);
/* /*
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment