-
Notifications
You must be signed in to change notification settings - Fork 85
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
Update to log4j 2.19.0 #2654
Update to log4j 2.19.0 #2654
Conversation
some implementation notes just for detail this link was helpful for explaining the exclude method in BuildConfig https://stackoverflow.com/questions/70801702/remove-old-log4j-dependency-from-grails this blogpost from the grails team explained how to find transitive dependencies on log4j using the command this led me to delete the "export" plugin which does have a transitive dependency https://gpc.github.io/export/docs/export-2.0.0.pdf it's possible this PR changeset could be made slightly more minimal but wanted to create this pr as a save point |
note that without this PR, the log4j artifacts are this
|
just as a random note, the WEB-INF/lib/log4j-1.2-api-2.19.0.jar is called the 'log4j bridge' which allows log4j v1 code to use v2 |
Wow, awesome! Does this have any bad side effects at all? @nathandunn what do you think of this? |
the removal of the export plugin is the biggest unknown to me. the app compiles but it could be worth looking more thoroughly if anything in the codebase relies on this |
It looks like the export plugin allows "instructor" reports to be exported in CSV, Excel, and XML format (ref #1862). That seems to be the only type of report that has an export, and I think removing the export is reasonable. |
thanks so much for checking into that :) I'll see if I can manually edit the page to remove the exports (maybe could try to keep a csv export with manual code or something) |
just went ahead and removed from instructor report for now |
Also |
0d202ed
to
a74ba8a
Compare
@cmdcolin This is awesome! Apologies but I broke my leg in multiple places last week and am still in recovery. I will work on testing this PR and get back to you. |
Dang!!! I'm so sorry to hear that, I hope you're doin ok! I followed up with you via email too |
Update: @g8tor and I tested this PR in our fork Steps To Reproduce:
Notes:
|
Hi all, any updates on this PR? |
I am going to merge this and try to run a release later today. |
This has been released now in version 2.7.0. |
thanks much @garrettjstevens :) excellent |
this is a possible method to remove log4j jars from the resulting build
I ran
output
these are up to date versions of log4j v2
I then deployed this war file and it did not crash on startup