Skip to content

Commit

Permalink
Add an ansible_tower_log to vmdb loggers
Browse files Browse the repository at this point in the history
The ansible tower client is using the base $log logger, add an
ansible_tower_log logger for it to use.
  • Loading branch information
agrare committed Jun 25, 2018
1 parent adb2759 commit f5a5f3a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions config/settings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -911,6 +911,7 @@
:ping_depot_timeout: 20
:level: info
:level_rails: info
:level_ansible: info
:level_api: info
:level_automation: info
:level_cn_monitoring: info
Expand Down
1 change: 1 addition & 0 deletions lib/vmdb/loggers.rb
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ def self.init
def self.apply_config(config)
apply_config_value(config, $log, :level)
apply_config_value(config, $rails_log, :level_rails)
apply_config_value(config, $ansible_tower_log, :level_ansible)
apply_config_value(config, $api_log, :level_api)
apply_config_value(config, $miq_ae_logger, :level_automation)
apply_config_value(config, $aws_log, :level_aws)
Expand Down

0 comments on commit f5a5f3a

Please sign in to comment.