Hi list,

I'm using the Sumo Log4j2 appender plugin (
https://github.com/SumoLogic/sumologic-log4j2-appender) which pushes logs
directly to Sumo via HTTP.

The plugin works fine when adding the JAR to JMeter's lib/ext directory
(and a dependency HTTP JAR to lib).

However I keep all my JARs in a separate lib and lib/ext directory which
are specified at runtime using
-Jplugin_dependency_paths=%TEST_HOME%/resources/lib
and -Jsearch_paths=%TEST_HOME%/resources/lib/ext. In this situation, the
JARs aren't found and an exception is thrown by log4j. All other JARs are
loaded by JMeter without issue.

The log4j config file is loaded through JVM_ARGs:
JVM_ARGS=-Dlog4j.configurationFile=file://%TEST_HOME%/conf/log4j2.xml

I've tried setting -Juser.classpath, without success.

Are there any other considerations when adding extra JARs for use in log4j
that people have come across?

Thanks

Andrew

Reply via email to