Skip to content

Commit

Permalink
Move $miq_ae_logger initialization and configuration into plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
Fryguy committed Jan 19, 2021
1 parent 9259b2d commit 7deae1b
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 8 deletions.
1 change: 0 additions & 1 deletion .rubocop_local.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ Style/GlobalVars:
- $container_log
- $journald_log
- $log
- $miq_ae_logger
- $policy_log
- $rails_log
- $remote_console_log
Expand Down
1 change: 0 additions & 1 deletion config/settings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -854,7 +854,6 @@
:ping_depot_timeout: 20
:level: info
:level_rails: info
:level_automation: info
:level_fog: info
:level_policy: info
:level_remote_console: info
Expand Down
6 changes: 0 additions & 6 deletions lib/vmdb/loggers.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +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-automation_engine plugin
apply_config_value(config, $miq_ae_logger, :level_automation)

Vmdb::Plugins.each { |p| p.try(:apply_logger_config, config) }
end

Expand All @@ -49,9 +46,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-automation_engine plugin
$miq_ae_logger = create_logger("automation.log")

configure_external_loggers
end

Expand Down

0 comments on commit 7deae1b

Please sign in to comment.