Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move API logger initialization and configuration into plugin #20965

Merged
merged 1 commit into from
Jan 19, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Move API logger initialization and configuration into plugin
  • Loading branch information
Fryguy committed Jan 18, 2021
commit 4a61924b2e045ab9d44b9da4f3e7a7be135d7dee
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_api: info
:level_automation: info
:level_fog: info
:level_policy: info
Expand Down
4 changes: 0 additions & 4 deletions lib/vmdb/loggers.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand All @@ -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")

Expand Down