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

ETMCopy Utility 7.0.2 - steps to setup log

 Hi All,


In order to copy some ETM project areas from one server to another, I have chosen "ETMCopy Utility" 7.0.2.
Performed below steps:

Download the RQMCopyUtility.zip file to a temporary location
    * Extract the contents using 7-zip to a known location C:\RQMExtras\RQMCopyUtility
    * Extract the contents to of lib directory under C:\RQMExtras\RQMCopyUtility\lib 
    * Downloaded and setup jre-7u76-windows-x64 in C:\Program Files\Java\jre7\bin
    * Setup environment variable for JRE location - C:\Program Files\Java\jre7\bin
    * CD to <RQMCopyUtility> and execute the command <JavaHome6>/bin/java -jar RQMCopyUtility.jar -help
    * Reviewed the arguments its same as RQMCopyUtil_readme.txt
    * Tried to execute java -jar RQMCopyUtility.jar -s=https://localhost:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/Evaluation_3132022 -us=xxxxx -pws=xxxxx -a=testcase -id=urn:com.ibm.rqm:testcase:1 

Nothing happened neither testcase got created nor any error message received.

Upon trying with to execute below received message The "-l/-log" argument is not supported. Please configure logging in the log4j2.xml file.
java -jar RQMCopyUtility.jar -s=https://localhost:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/Evaluation_3132022 -us=xxxxx -pws=xxxxx -a=testcase -id=urn:com.ibm.rqm:testcase:1 -l=importlog.txt

I have enabled in <AppenderRef ref="file"/> in log4j2. But no change.

Please help!

Thank you!

0 votes



One answer

Permanent link
Hi

Once I enabled the <AppenderRef ref="file"/> in log4j2


I also modified the following line to read level="ALL"

<Logger name="com.ibm.rqm.ct" level="ALL"/>

Then all the output was written to copyUtil.log as noted in the log4j2.xml file.


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
× 7,498
× 1,328

Question asked: Sep 23 '22, 5:11 a.m.

Question was seen: 882 times

Last updated: Mar 20 '23, 3:06 p.m.

Confirmation Cancel Confirm