From 27b1f3170b14a485962e61c14a61f75a7c82091f Mon Sep 17 00:00:00 2001 From: Miguel Nogueira Date: Mon, 31 Aug 2020 20:02:30 +0100 Subject: [PATCH] Update settings log level --- app/Helpers/Options.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/Helpers/Options.php b/app/Helpers/Options.php index dae270e..13c416d 100644 --- a/app/Helpers/Options.php +++ b/app/Helpers/Options.php @@ -16,7 +16,7 @@ class Options if (is_null($value)) { - Log::info('Option ' . $option . 'not found in cache, refreshing from database'); + Log::debug('Option ' . $option . 'not found in cache, refreshing from database'); $value = Option::where('option_name', $option)->first(); if (is_null($value)) throw new \Exception('This option does not exist.'); @@ -61,7 +61,7 @@ class Options $dbOptionInstance = Option::find($dbOption->first()->id); Cache::forget($option); - Log::warning('Changing db configuration option', [ + Log::debug('Changing db configuration option', [ 'old_value' => $dbOptionInstance->option_value, 'new_value' => $newValue ]); @@ -69,7 +69,7 @@ class Options $dbOptionInstance->option_value = $newValue; $dbOptionInstance->save(); - Log::warning('New db configuration option saved', + Log::debug('New db configuration option saved', [ 'option' => $dbOptionInstance->option_value ]);