Skip to content

Commit

Permalink
update Log4ShellHotpatch
Browse files Browse the repository at this point in the history
  • Loading branch information
breadchris committed Dec 14, 2021
1 parent aca37df commit 56fe994
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions tools/log4shell/.gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

dist/
log4shell
Log4ShellHotpatch.class
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ static boolean attemptLog4J210Patch() throws Exception {
}

static void patchLoggerContexts(ContextSelector ctxSelector) throws NoSuchFieldException, IllegalAccessException {
log(ctxSelector.toString());
log(ctxSelector.getLoggerContexts().toString());
for (LoggerContext ctx: ctxSelector.getLoggerContexts()) {
log("attempting to reconfigure LoggerContext.");
Expand Down

0 comments on commit 56fe994

Please sign in to comment.