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 ]);