Bug 1592428 - task id not included on automation.log when logging from methods
Summary: task id not included on automation.log when logging from methods
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Automate
Version: 5.9.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: GA
: 5.10.0
Assignee: drew uhlmann
QA Contact: Ganesh Hubale
URL:
Whiteboard:
Depends On:
Blocks: 1595451
TreeView+ depends on / blocked
 
Reported: 2018-06-18 14:01 UTC by Jeffrey Cutter
Modified: 2019-02-11 14:06 UTC (History)
9 users (show)

Fixed In Version: 5.10.0.2
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1595451 (view as bug list)
Environment:
Last Closed: 2019-02-11 14:06:55 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Jeffrey Cutter 2018-06-18 14:01:50 UTC
Description of problem:

Log formatting for methods no longer includes task ID when logging from methods.  Examples shown below.

Log entries from 5.8.3 appliance:

[----] I, [2018-06-18T09:38:30.441790 #17241:623108]  INFO -- : Q-task_id([service_template_provision_task_3000000000001]) <AEMethod [/Desjardins/AutomationManagement/AnsibleTower/Service/Provisioning/StateMachines/Provision/derive_values]> Starting 
[----] I, [2018-06-18T09:38:30.982247 #17241:420cc28]  INFO -- : Q-task_id([service_template_provision_task_3000000000001]) <AEMethod derive_values> job_options before: {:extra_vars=>{"test"=>"asdf"}}

Log entries from 5.9.2 appliance:

[----] I, [2018-06-18T09:45:56.780128 #1900:401118]  INFO -- : Q-task_id([service_template_provision_task_3000000000053]) <AEMethod [/Desjardins/AutomationManagement/AnsibleTower/Service/Provisioning/StateMachines/Provision/derive_values]> Starting 
[----] I, [2018-06-18T09:45:57.028771 #1900:3856ad0]  INFO -- : <AEMethod derive_values> job_options before: {:extra_vars=>{"test"=>"asdf"}}

Note that the job_options_before log output from derive_values does not include the task id information.  This makes it very difficult to find necessary logs in larger environments.


Note You need to log in before you can comment on or make changes to this bug.