Forum Discussion

fderunes's avatar
fderunes
Occasional Contributor
12 years ago

Testrunner Set Logging level with command line option

Hi
I am running the test using the command line, testrunner or loadtestrunner.

Is there a way to set the Logging level with an option? (turn Debug logging on/off)

Modifying the file soapui-log4j I have been able to change the logging level. But I am running my tests on different machine via jenkins so it would be convenient to set an option for testrunner or loadtestrunner.

I cannot really change the file as I am running many concurrent tests and really the logging level would be per test case basis.

Thanks
Franck

3 Replies

  • Hi,

    I did not understand the customization you want to achieve but yes soapui-log4j file can help you for logging. Can you provide more information so we can investigate further.

    Thanks,
    Jeshtha
  • fderunes's avatar
    fderunes
    Occasional Contributor
    I run the test using testrunner.
    Testrunner outputs all the DEBUG information in the output.
    I don't want this output.

    BUT I want to be able to enable the DEBUG output from the command line (I don't want to enable it for all the tests, only for specific tests). Modifying soapui-log4j file isn't the solution because it will apply for all the tests.

    is there something like
    testrunner.bat -s"testsuite" -c"testcase" -nodebug ?