Created attachment 26858 [details] Patch to ErrorHandlerTestCase to expose issue with 1.2.16 PropertyConfigurator When configuring log4j using a properties-style file an appender's error handler is not set up properly. Attached to this bug are two patches: - fix the ErrorHandlerTestCase to expose this bug - the current test is picking up the results from the first test run resulting in a false positive suceess. - update PropertyConfigurator to set the appender on the defined ErrorHandler, as xml.DOMConfigurator does, plus a set of fixes to parse the property file correctly. fixing parsing without the appender fix results in a npe, as there is no primary appender. fixing the the appender without the parser updates prevents a failback appender from ever being configured.
Created attachment 26859 [details] Update PropertyConfigurator to process errorhandler directives