Skip to content

Commit

Permalink
Move to single file log setup for simplicity.
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Oct 20, 2013
1 parent 80b1c85 commit 088f4b6
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions app/start/global.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,11 @@
|
| 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');

/*
|--------------------------------------------------------------------------
Expand Down

0 comments on commit 088f4b6

Please sign in to comment.