Forum Discussion

Alkaiser's avatar
Alkaiser
Occasional Contributor
11 years ago

Using soapui-log4j.xml in base project directory

Hi,
I've read a few topics that mention I can overwrite the default log4j xml file (that's in bin) by putting one in my project base.

I've done that but it doesn't seem to use it. I'm using soapUI 5.0.0 Pro. I've tried removing the soapui.log4j from the bin directory but that hasn't helped.
  • redfish4ktc2's avatar
    redfish4ktc2
    Super Contributor
    hi, can you provide more information?
    you have a java program which uses soapui classes? Are you using the SoapUI GUI?

    Yes there are ways to make soapui uses your own log4j configuration file (see viewtopic.php?f=13&t=17250 for instance) but it really depends of the way you uses SoapUI
  • Alkaiser's avatar
    Alkaiser
    Occasional Contributor
    Thanks for the response!
    I use both the GUI and mockservicerunner.sh to run my mock. I do use Groovy as part of the mock to retrieve mock responses, but not to initialize the mock, so should be irrelevant. No external Java class calling this.
    There must be a way apart from setting a system property?