From bf29e9b46c9113f8776ae0c47e76abea239f8ce8 Mon Sep 17 00:00:00 2001 From: Jason Frey Date: Fri, 17 Nov 2023 12:11:19 -0500 Subject: [PATCH] Merge pull request #3 from Adam-Grare/use_provider_sdk_logger_awx_log Use ProviderSdkLogger as the class for ansible_tower_log (cherry picked from commit 08df5f317721079a9b86e7445c8e699138b4703b) (cherry picked from commit 5194657fc27e56e3c07e1bdec3f85ebb5909f6d0) --- lib/manageiq/providers/ansible_tower/engine.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/manageiq/providers/ansible_tower/engine.rb b/lib/manageiq/providers/ansible_tower/engine.rb index 6c23efe..f51a82c 100644 --- a/lib/manageiq/providers/ansible_tower/engine.rb +++ b/lib/manageiq/providers/ansible_tower/engine.rb @@ -20,7 +20,7 @@ def self.plugin_name end def self.init_loggers - $ansible_tower_log ||= Vmdb::Loggers.create_logger("ansible_tower.log") + $ansible_tower_log ||= Vmdb::Loggers.create_logger("ansible_tower.log", Vmdb::Loggers::ProviderSdkLogger) end def self.apply_logger_config(config)