From 9ffcc1a5a4da12a3479da5dd7023a935c94497c2 Mon Sep 17 00:00:00 2001 From: Beth Skurrie Date: Sun, 11 Mar 2018 20:49:06 +1100 Subject: [PATCH] feat: log debug message when loading configuration setting from database --- lib/pact_broker/config/load.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/pact_broker/config/load.rb b/lib/pact_broker/config/load.rb index 710e9a5e2..6f80008fb 100644 --- a/lib/pact_broker/config/load.rb +++ b/lib/pact_broker/config/load.rb @@ -32,6 +32,7 @@ def configuration_attribute_exists? setting def set_value_on_configuration setting if configuration_attribute_exists? setting + logger.debug("Loading #{setting.name} configuration from database.") configuration.send("#{setting.name}=", get_value_from_setting(setting)) else logger.warn("Could not load configuration setting \"#{setting.name}\" as there is no matching attribute on the Configuration class")