From 4a61924b2e045ab9d44b9da4f3e7a7be135d7dee Mon Sep 17 00:00:00 2001 From: Jason Frey Date: Mon, 18 Jan 2021 17:24:20 -0500 Subject: [PATCH] Move API logger initialization and configuration into plugin --- config/settings.yml | 1 - lib/vmdb/loggers.rb | 4 ---- 2 files changed, 5 deletions(-) diff --git a/config/settings.yml b/config/settings.yml index 72de8e82548..73ca14a201c 100644 --- a/config/settings.yml +++ b/config/settings.yml @@ -854,7 +854,6 @@ :ping_depot_timeout: 20 :level: info :level_rails: info - :level_api: info :level_automation: info :level_fog: info :level_policy: info diff --git a/lib/vmdb/loggers.rb b/lib/vmdb/loggers.rb index 2f00f32143e..536ef9fe16b 100644 --- a/lib/vmdb/loggers.rb +++ b/lib/vmdb/loggers.rb @@ -26,8 +26,6 @@ def self.apply_config(config) apply_config_value(config, $policy_log, :level_policy) apply_config_value(config, $remote_console_log, :level_remote_console) - # TODO: Move this into the manageiq-api plugin - apply_config_value(config, $api_log, :level_api) # TODO: Move this into the manageiq-automation_engine plugin apply_config_value(config, $miq_ae_logger, :level_automation) @@ -51,8 +49,6 @@ def self.create_logger(log_file_name, logger_class = VMDBLogger) $policy_log = create_logger("policy.log") $remote_console_log = create_logger("remote_console.log") - # TODO: Move this into the manageiq-api plugin - $api_log = create_logger("api.log") # TODO: Move this into the manageiq-automation_engine plugin $miq_ae_logger = create_logger("automation.log")