The "-l/-log" argument is not supported. Please configure logging in the log4j2.xml file.
I am getting the following error when I try to execute ETMcopyutility
C:\Users\Administrator\Downloads\ETM-Extras-ETMCopyUtil-7.0.2SR1>"C:\Program Files (x86)\Java\jre1.8.0_361\bin\java" -jar RQMCopyUtility.jar -s=https://hostname/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/ProjectA -us=ibm -pws=ibm -sc=https://hostname/qm/oslc_config/resources/com.ibm.team.vvc.Configuration/JKE+Banking+%28Quality+Management%29 -dc=https://hostname/qm/oslc_config/resources/com.ibm.team.vvc.Configuration/JKE+Banking+%28Quality+Management%29 -l=importlog.txt
The "-l/-log" argument is not supported. Please configure logging in the log4j2.xml file.
how to ovecome
One answer
Hi Venkatesh,
From 702 SR1, the -l / -log argument has been removed. log4j2.xml file must be used to configure the loggers for the utility.
You need to uncomment the following lines in log4j2.xml to enable logging.
<!-- Logging in to copyUtil.log is disabled. Uncomment "file" reference to enable it. -->
<!--
<AppenderRef ref="file"/>
--></pre> Hope it helps.
Regards,
Bharath