ppkarwasz opened a new pull request #768: URL: https://github.com/apache/logging-log4j2/pull/768
If a Builder fails due to a missing property, it return `null`. This activates the fallback _"instantiate by class name"_ mechanism that will fail with `NoClassDefFoundException` in the best scenario or will instantiate a native Log4j 1.x component in the worst scenario. A better approach, IMHO, is to an empty wrapper, which deactivates the fallback mechanism, but will be unwrapped to `null` soon after and removed from the configuration. This PR also increases the level of status logger messages to `ERROR` if the condition prevents the instantiation of the component. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
