sha09
8 years agoOccasional Contributor
Logs not printed when exported as jar
I am trying to run soapui project using soapui jar. But I am having problem with the logging.
soapui overwrites the log4j settings:
I followed the following post and get it fixed by overwriting the system property:
https://community.smartbear.com/t5/SoapUI-NG/SoapUI-overwrites-and-closes-log4j-settings/td-p/30694
System.setProperty("soapui.log4j.config", Mainn.class.getClassLoader().getResource("log4j.xml").getPath());
Now when I export the jar ... the log displayed in command window still shows only logs generated by soapUi.
This seems similar to this post:
But it is still not working.
Can anybody please suggest me how it can be fixed?
Thank you for your time and effort!