Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

RQM - How to control logging messages executed outside of RQM

 Hi,

we use RQM execution tool in order to execute tests from RQM on a CLA and we execute all our tests via test scripts from type "command line" that call Python tests.
the problem is that the Logger we use in Python doesn't match the RQM Logger so INFO log messages coming from our tests are translated to ERROR messages in RQM and are printed to .err log attachment in RQM result.
my question is - is there a way to access the "RQM Logger" and match it to our Python logger?

0 votes



One answer

Permanent link
If you plan to attach Python Logger files as attachment to the execution results then would it solve your purpose? 
If yes, then you can make use of environment variable named "qm_AttachmentsFile" to indicate attachment to your execution result. 
You can choose to make use of "https://jazz.net/library/article/809" article to know more about CLA configurations and various capabilities. 
You could also make use of this jazz.net discussion "https://jazz.net/forum/questions/81549/how-to-attach-external-execution-result-files-in-rqm-result-log"  to know more about attaching the logs in to RQM results via CLA run. 

Please respond to this thread if you have more question. 
Thanks,
Abhishek

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 6,125

Question asked: May 21 '17, 9:20 a.m.

Question was seen: 2,260 times

Last updated: May 29 '17, 6:25 a.m.

Confirmation Cancel Confirm