From b5a679ea46ab059b387540d0873fccd1a32beef4 Mon Sep 17 00:00:00 2001 From: DariusIII Date: Mon, 12 Mar 2018 09:23:30 +0100 Subject: [PATCH] Update config/logging with new options (bubble, permission and locking) --- Changelog | 2 ++ build/postInstall.php | 25 ------------------------- config/logging.php | 6 ++++++ 3 files changed, 8 insertions(+), 25 deletions(-) delete mode 100644 build/postInstall.php diff --git a/Changelog b/Changelog index 2ce62eab6..99dd7e2ba 100755 --- a/Changelog +++ b/Changelog @@ -1,3 +1,5 @@ +2018-03-12 DariusIII + * Chg: Update config/logging with new options (bubble, permission and locking) 2018-03-11 DariusIII * Chg: Update laravel/scout to version 4.0.2 2018-03-09 DariusIII diff --git a/build/postInstall.php b/build/postInstall.php deleted file mode 100644 index fb5af3aff..000000000 --- a/build/postInstall.php +++ /dev/null @@ -1,25 +0,0 @@ -. - * @author niel - * @copyright 2016 nZEDb - */ -require_once '..'.DIRECTORY_SEPARATOR.'bootstrap/autoload.php'; - -$updates = NN_CONFIGS.'updates.json'; -if (! file_exists($updates)) { - $json = ['script' => time()]; - file_put_contents(json_encode($json, JSON_PRETTY_PRINT)); -} diff --git a/config/logging.php b/config/logging.php index 112f9492e..587bd6b90 100644 --- a/config/logging.php +++ b/config/logging.php @@ -35,12 +35,18 @@ return [ 'driver' => 'single', 'path' => storage_path('logs/laravel.log'), 'level' => 'debug', + 'bubble' => true, + 'permission' => 0775, + 'locking' => false, ], 'daily' => [ 'driver' => 'daily', 'path' => storage_path('logs/laravel.log'), 'level' => 'debug', 'days' => 7, + 'bubble' => true, + 'permission' => 0775, + 'locking' => false, ], 'slack' => [ 'driver' => 'slack',