Logs creation in parallel test execution Logs creation in parallel test execution selenium selenium

Logs creation in parallel test execution


Are you using any logging framework for example: log4j and talking about separate that logs or talking about TestNG default logging? TestNG's default logging doesn't supports it.


TestNG has it's own custom logging framework similar. To control testNG logging you can add "log4testng.properties" to your classpath.

However as per documentation, there is no way to specify appenders or to control logging programmatically.

For logs which are not from TestNG you can use other logging framework than TestNG's default, like log4J. In that case refer similar question using-different-log-files-for-every-thread-created