-
Notifications
You must be signed in to change notification settings - Fork 19
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
Is log4j2-appender-nodep / log4j2-appender incompatible with JDK 8? #103
Comments
No need to explain yourself. I explicitly made it work with Java 8. Probably problem with CI and release setup on CircleCI. I'll investigate tomorrow. |
Thank you for your understanding and quick response. Indeed I saw source and target set to 1.8 in pom.xml. On our other product the LokiAppender works beautifully (and saved me implementing a huge amount of bug-ridden code myself). I look forward to your findings. |
Additional infoHere are the jars that are packaged into my webapp. I'm supporting both log4j v1 and v2 in my log server. But I don't think that's relevant. |
I have created an empty project with just |
Thank you for investigating. I will get back to you at my earliest convenience (juggling a couple of different projects right now!) and if I still experience it, will give you more precise version info. |
EDIT: that was nothing to do with the version. |
The JDK version issue is gone using 0.9.26 so that's not an issue. I think the problem is I'm trying to get Log4j 2.4.1 to work with it, which is not trivial. But that's something for me to deal with. Closing. Thank you for the quick support. |
Error message
When I start my tomcat app with
<Loki...
inside mylog4j2.xml
My code
I tried using versions between 0.4 and 0.9.17 but got the same issue each time.
Notes
Q: Why am I still on JDK 8?
A: It's a legacy product that we are still supporting a lot of old components of (though there are plans to upgrade to 11 and after that 17).
(edit) Full stack trace
The text was updated successfully, but these errors were encountered: