It's all about the answers!

Ask a question

RQM - How to control logging messages executed outside of RQM


sara chason (27224) | asked May 21 '17, 9:20 a.m.

 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?

One answer



permanent link
abhishek gour (3812) | answered May 29 '17, 6:25 a.m.
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

Your answer


Register or 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.