From 7a449f86b98c0dce844a129ba40d3881c04df586 Mon Sep 17 00:00:00 2001 From: Amo Chohan Date: Thu, 2 Jun 2016 13:14:42 +0100 Subject: [PATCH 1/3] Make TestCase abstract --- tests/TestCase.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/TestCase.php b/tests/TestCase.php index 8578b17e..8208edca 100644 --- a/tests/TestCase.php +++ b/tests/TestCase.php @@ -1,6 +1,6 @@ Date: Sat, 4 Jun 2016 09:58:04 +0930 Subject: [PATCH 2/3] Add application log level configuration This config option ties in with changes in fbd6e77 that were tagged in v5.2.35 of the framework. --- .env.example | 1 + config/app.php | 14 ++++++++++++++ 2 files changed, 15 insertions(+) diff --git a/.env.example b/.env.example index 9a9d0dc7..805667d0 100644 --- a/.env.example +++ b/.env.example @@ -1,5 +1,6 @@ APP_ENV=local APP_DEBUG=true +APP_LOG_LEVEL=debug APP_KEY=SomeRandomString APP_URL=http://localhost diff --git a/config/app.php b/config/app.php index 4fc7a63f..0a83bcc5 100644 --- a/config/app.php +++ b/config/app.php @@ -28,6 +28,20 @@ return [ 'debug' => env('APP_DEBUG', false), + /* + |-------------------------------------------------------------------------- + | Application Log Level + |-------------------------------------------------------------------------- + | + | By default, Laravel will write all log messages to its log file. You + | can specify the minimum log level by setting this value to one of + | the logging levels defined in RFC 5424 and Laravel will log all + | messages greater than or equal to the configured log level. + | + */ + + 'log_level' => env('APP_LOG_LEVEL', 'debug'), + /* |-------------------------------------------------------------------------- | Application URL From 767801a317928ac968bdc34270ccc87b5c41e057 Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Sat, 4 Jun 2016 09:37:32 -0500 Subject: [PATCH 3/3] working on formatting --- .env.example | 2 +- config/app.php | 16 ++-------------- 2 files changed, 3 insertions(+), 15 deletions(-) diff --git a/.env.example b/.env.example index 805667d0..67a51b4c 100644 --- a/.env.example +++ b/.env.example @@ -1,7 +1,7 @@ APP_ENV=local +APP_KEY=SomeRandomString APP_DEBUG=true APP_LOG_LEVEL=debug -APP_KEY=SomeRandomString APP_URL=http://localhost DB_CONNECTION=mysql diff --git a/config/app.php b/config/app.php index 0a83bcc5..7c1987c5 100644 --- a/config/app.php +++ b/config/app.php @@ -28,20 +28,6 @@ return [ 'debug' => env('APP_DEBUG', false), - /* - |-------------------------------------------------------------------------- - | Application Log Level - |-------------------------------------------------------------------------- - | - | By default, Laravel will write all log messages to its log file. You - | can specify the minimum log level by setting this value to one of - | the logging levels defined in RFC 5424 and Laravel will log all - | messages greater than or equal to the configured log level. - | - */ - - 'log_level' => env('APP_LOG_LEVEL', 'debug'), - /* |-------------------------------------------------------------------------- | Application URL @@ -124,6 +110,8 @@ return [ 'log' => env('APP_LOG', 'single'), + 'log_level' => env('APP_LOG_LEVEL', 'debug'), + /* |-------------------------------------------------------------------------- | Autoloaded Service Providers