diff --git a/.rubocop_local.yml b/.rubocop_local.yml index 8e8bd216807..3784dc7ce29 100644 --- a/.rubocop_local.yml +++ b/.rubocop_local.yml @@ -20,6 +20,7 @@ GlobalVars: - $scvmm_log - $vim_log - $websocket_log + - $vcloud_log # In Automate methods - $evm # diff --git a/config/settings.yml b/config/settings.yml index e6959b4967c..89ff1665d8b 100644 --- a/config/settings.yml +++ b/config/settings.yml @@ -882,6 +882,7 @@ :level_scvmm: info :level_vim: warn :level_websocket: info + :level_vcloud: info :ntp: :server: - 0.pool.ntp.org diff --git a/lib/vmdb/loggers.rb b/lib/vmdb/loggers.rb index f694c5ee29c..0658c52e644 100644 --- a/lib/vmdb/loggers.rb +++ b/lib/vmdb/loggers.rb @@ -33,6 +33,7 @@ def self.apply_config(config) apply_config_value(config, $azure_log, :level_azure) apply_config_value(config, $lenovo_log, :level_lenovo) apply_config_value(config, $websocket_log, :level_websocket) + apply_config_value(config, $vcloud_log, :level_vcloud) end def self.create_loggers @@ -57,6 +58,7 @@ def self.create_loggers $api_log = create_multicast_logger(path_dir.join("api.log")) $websocket_log = create_multicast_logger(path_dir.join("websocket.log")) $miq_ae_logger = create_multicast_logger(path_dir.join("automation.log")) + $vcloud_log = create_multicast_logger(path_dir.join("vcloud.log")) configure_external_loggers end