From 088f4b69b6b9846dd54b55688f11e44b9bc73483 Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Sat, 19 Oct 2013 21:39:25 -0500 Subject: [PATCH] Move to single file log setup for simplicity. --- app/start/global.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/app/start/global.php b/app/start/global.php index 7697a6be..afb7a291 100644 --- a/app/start/global.php +++ b/app/start/global.php @@ -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'); /* |--------------------------------------------------------------------------