Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

I wasted 4 hours trying to get Jorphan (Jmeter component) logging to work. Jorphan overrides log4j normal configuration mechanism, but does it badly, making usage of custom log4j settings impossible. Specifically initializeLogging always overrides previous settings with its own default settings.

  1. There is one missing dependency which causes start-up failure with message Caused by: java.lang.NoClassDefFoundError: org/apache/avalon/excalibur/i18n/ResourceManager if you try to configure logger via jmeter.properties. Get the jar file from http://mirrors.bevc.net/apache/excalibur/excalibur-i18n/binaries/ and place it to lib/

...

My head was already hurting so badly that I didn't want to debug the problem further. The JMeter logging code had several deprecated non-func historic layers confusing poor debuggerscould have some clean-up work.