-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Log4j2 issues #1209
Comments
@knyttl @cstancu FYI, this "Unrecognized format specifier" stuff is Log4j2 encountering a format specifier in the pattern that it does not have a converter for. Log4j2 registers converters (and all other configuration components) through an annotation-based plugin mechanism. This plugin mechanism reads components from The file is in binary format and contains a bunch of stuff for each component, including its fully qualified class name. During log4j2 initialization, it reads this It seems to me that what is needed is a way to generate a The cleanest place to do this is in the Log4j2 annotation processor. I created https://issues.apache.org/jira/browse/LOG4J2-2604 for this. |
@knyttl I could be wrong but your reflection-config.json is missing
|
See my recent comment on log4j2 native support here. |
|
(Possibly related with #808)
Within our graal-compiled project we have issue with log4j2. When anything is to be logged, it gets to reflection issues.
https://gitlab.com/GoOutPublic/MicronautKotlinDemo/blob/master/
We have declared reflect-config.json as follows:
https://gitlab.com/GoOutPublic/MicronautKotlinDemo/blob/master/reflect-config.json
The error can be seen in this CI run:
https://gitlab.com/GoOutPublic/MicronautKotlinDemo/-/jobs/204230245
The text was updated successfully, but these errors were encountered: