tfmorris commented on issue #4248: URL: https://github.com/apache/logging-log4j2/issues/4248#issuecomment-5272502541
> `elementType` looks like a red herring. Well, all I know is that removing it fixes the crash. We updated from 2.26.0 and 2.25.4 before that. The problem was only noticed on the latest update to 2.26.1. There weren't any JDK changes. > Your config also says packages = com.google.refine.logging while the class is in com.google.util.logging, so registration only comes from the generated Log4j2Plugins.dat is that in your jar? Good catch! There was a `Log4j2Plugins.dat` with the correct package name, but now that I've fixed the package name in the properties file it no longer seems to be being generated. Using the correct package name *also* seems to fix the problem, even without removing the `@Plugin(elementType=` parameter, so that's another solution. -- 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]
