Skip to content

Commit 6a85540

Browse files
committed
oops, these need to be stderr
1 parent 7b25634 commit 6a85540

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

log4j-detector-2021.12.20.jar

-9.49 KB
Binary file not shown.

src/main/java/com/mergebase/log4j/Log4JDetector.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,8 +162,8 @@ public static void main(String[] args) throws IOException {
162162
} else if (foundLog4j1) {
163163
System.exit(1);
164164
} else {
165-
System.out.println("-- No vulnerable Log4J 2.x samples found in supplied paths: " + argsList);
166-
System.out.println("-- Congratulations, the supplied paths are not vulnerable to CVE-2021-44228 or CVE-2021-45046 ! :-) ");
165+
System.err.println("-- No vulnerable Log4J 2.x samples found in supplied paths: " + argsList);
166+
System.err.println("-- Congratulations, the supplied paths are not vulnerable to CVE-2021-44228 or CVE-2021-45046 ! :-) ");
167167
}
168168
}
169169

0 commit comments

Comments
 (0)