-
-
Notifications
You must be signed in to change notification settings - Fork 353
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
refactor: migrate to org.apache.logging.log4j:log4j-core:2.13.0 #3202
Conversation
Thanks a lot! |
FYI, this change breaks some usages, starting with using Spoon in Groovy: https://travis-ci.org/SpoonLabs/spoon-ci-external/builds/635334772 It seems that it's because of dependency shadowing, but I'm not sure. |
Also breaks the Nopol build: https://ci.inria.fr/sos/job/nopol/719/display/redirect log4j-core seems not usable as is at runtime. |
For Nopol: It seems that these lines use classes from the old dependency, while not declaring it. (L59 could simply be replacde by https://github.com/SpoonLabs/nopol/blob/2bcc7dc685a1e66189363aa2a6be082868440106/nopol/src/main/java/fr/inria/lille/commons/spoon/SpoonedFile.java#L5 Proposed fix SpoonLabs/nopol#193 (By the way, it is not so much that |
For Groovy, you might be right. I am not sure of what's happening. But maybe just updating log4j was not the smartest move. Maybe we should move to slf4j and avoid logger compatibility issues. |
I confirm that Nopol is fixed: https://ci.inria.fr/sos/job/nopol/722/ Thanks a lot! |
that's a great idea. |
really want to get Groovy working again #3208 is an option |
log4j:log4j
is stuck to1.2.7
, which contains a security vulnerability.The new artifact for log4j is now
org.apache.logging.log4j:log4j-core
.The api has slightly changed for version
2.x
, see this page for migration information.