Bug 1553813

Summary: automation.log fills with debug XML traces
Product: Red Hat CloudForms Management Engine Reporter: Peter McGowan <pmcgowan>
Component: AutomateAssignee: mkanoor
Status: CLOSED CURRENTRELEASE QA Contact: Dmitry Misharov <dmisharo>
Severity: high Docs Contact:
Priority: high    
Version: 5.9.0CC: cbolz, cpelland, gmccullo, kmorey, mkanoor, obarenbo, simaishi, tfitzger
Target Milestone: GAKeywords: TestOnly, ZStream
Target Release: 5.10.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.10.0.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1553924 (view as bug list) Environment:
Last Closed: 2019-02-11 14:08:29 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1553924    

Description Peter McGowan 2018-03-09 15:23:27 UTC
Description of problem:
automation.log fills with debug XML traces. A new trace is created every time a new call is made to MiqAeWorkspaceRuntime.instantiate

Version-Release number of selected component (if applicable):
5.9.0.22

How reproducible:
Every time

Additional info:

The problem seems to be with this this line:
https://github.com/ManageIQ/manageiq-automation_engine/blob/master/lib/miq_automation_engine/engine/miq_ae_engine.rb#L302

Comment 2 Greg McCullough 2018-03-09 15:44:38 UTC
Madhu - I believe it is related to PR https://github.com/ManageIQ/manageiq/pull/16990 which required a followup PR https://github.com/ManageIQ/manageiq/pull/17001 to fix specs for the same code line identified in this BZ description.

Hoping Nick can also help in resolving this issue.

Comment 3 Greg McCullough 2018-03-09 16:32:34 UTC
Found that the automate and policy log handles are not being configured to use a user configured setting like other loggers.  To resolve we need to configure and set log levels for these two.

PR in progress.

Comment 4 Satoe Imaishi 2018-03-09 21:39:42 UTC
PR: https://github.com/ManageIQ/manageiq/pull/17130

Comment 6 Dmitry Misharov 2018-06-26 11:33:58 UTC
Fixed and verified in 5.10.0.1.20180619163011_900fdc4. XML debug messages are not shown anymore in automation.log