If you add a "log4j2.xml" into the <confFilesDirectory>
(defaults to ${project.base.directory}/src/test/conf) it will now be copied into the /bin folder. If one does not exist the default one supplied with JMeter will be used instead.
i also tried to provide the config file as mvn -X -DAPPCONFIG=home/App1 -Dlogback.configurationFile=file:path/to/conf/logback.xml -Duser.timezone=GMT com.lazerycode.jmeter:jmeter-maven-plugin:jmeter -Dtest=TestClass#testmethod
In both the cases the logback.xml is not being used. But i noticed that in git the pom.xml includes logback dependencies.
Any input, how to configure the logback.xml instead of log4j2.xml?