Hi,
I am running a test case with dynamic java execution step where in I had configured a log file using log4j.properties file,when I am running the test case using Test Runner the log is also containing the Test Runner Console log.The trunner.log is being written into my custom log.How to stop this?
Thanks,
Regards,
Vishweshwara
Try this, update file TestRunner.vmoptions with this entry:
-Dlisa.tmpdir=<fully qualified path of where you want the trunner.log to go>
Let me know if this works.
Hi Nunns,
I did set the TestRunner.vmoptions to the default trunner.log file path.The initialization part was being written into trunner.log,but once the log file for the test case is being set the it is being logged into the testcase log file.Below are the snaps of the log files that were run.
Hi Marcy,
Did you get a chance to look at the logs?The path I provided in TestRunner.vmoptions is "-Dlisa.tmpdir=C:\Users\Viswa\lisatmp_9.0.0".The problem is it is writing the logs into my test step log after test step log4j.properties is setting the log file name for my test step.
Please share snippet from the log file showing the logs you don't want in your custom log.
If possible, do attach the log file to this thread.
Hi Prem,
Please find the attached log snaps below.
Prem,
Did you get a chance to look at Vish's last response?