From ef06706911883e21638db00174a693386a9d2fd1 Mon Sep 17 00:00:00 2001 From: Sam Date: Fri, 2 Oct 2015 17:21:38 +0200 Subject: [PATCH 1/2] config logger via environment variable --- .env.example | 4 +++- config/app.php | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.env.example b/.env.example index 3b870ff2b844..ce0cd9128663 100644 --- a/.env.example +++ b/.env.example @@ -20,4 +20,6 @@ MAIL_FROM_ADDRESS MAIL_FROM_NAME MAIL_PASSWORD -PHANTOMJS_CLOUD_KEY='a-demo-key-with-low-quota-per-ip-address' \ No newline at end of file +PHANTOMJS_CLOUD_KEY='a-demo-key-with-low-quota-per-ip-address' + +LOG=single diff --git a/config/app.php b/config/app.php index 8eaa0582bf68..59f185d78a7c 100644 --- a/config/app.php +++ b/config/app.php @@ -97,7 +97,7 @@ return [ | */ - 'log' => 'single', + 'log' => evn('LOG', 'single'), /* |-------------------------------------------------------------------------- From c28df844642b12c13ec9642e23cc2eaa4e2ec025 Mon Sep 17 00:00:00 2001 From: Linus Metzler Date: Sun, 4 Oct 2015 11:50:42 +0200 Subject: [PATCH 2/2] Fixed a typo in function name This typo led to a fatal error since the function was undefined. This bug was introduced in ef06706911883e21638db00174a693386a9d2fd1 --- config/app.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/app.php b/config/app.php index 59f185d78a7c..5b6fdff42998 100644 --- a/config/app.php +++ b/config/app.php @@ -97,7 +97,7 @@ return [ | */ - 'log' => evn('LOG', 'single'), + 'log' => env('LOG', 'single'), /* |--------------------------------------------------------------------------