diff options
author | Manuel Bentele | 2021-12-13 11:04:27 +0100 |
---|---|---|
committer | Manuel Bentele | 2021-12-15 15:45:04 +0100 |
commit | 0ed5764397d16820eadaec05108856f7b94b41ab (patch) | |
tree | 2e83637052999f166ef318c13700c327b56e53cb /dozentenmodulserver/src/main/java/org/openslx/bwlp/sat/thrift/BinaryListener.java | |
parent | [CLIENT] Update log4j because of the CVE-2021-44228 security flaw (diff) | |
download | tutor-module-0ed5764397d16820eadaec05108856f7b94b41ab.tar.gz tutor-module-0ed5764397d16820eadaec05108856f7b94b41ab.tar.xz tutor-module-0ed5764397d16820eadaec05108856f7b94b41ab.zip |
[SERVER] Update log4j because of the CVE-2021-44228 security flaw
Diffstat (limited to 'dozentenmodulserver/src/main/java/org/openslx/bwlp/sat/thrift/BinaryListener.java')
-rw-r--r-- | dozentenmodulserver/src/main/java/org/openslx/bwlp/sat/thrift/BinaryListener.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/dozentenmodulserver/src/main/java/org/openslx/bwlp/sat/thrift/BinaryListener.java b/dozentenmodulserver/src/main/java/org/openslx/bwlp/sat/thrift/BinaryListener.java index bfc75b0e..fd8cf3c1 100644 --- a/dozentenmodulserver/src/main/java/org/openslx/bwlp/sat/thrift/BinaryListener.java +++ b/dozentenmodulserver/src/main/java/org/openslx/bwlp/sat/thrift/BinaryListener.java @@ -9,7 +9,8 @@ import java.util.concurrent.TimeUnit; import javax.net.ssl.SSLContext; import javax.net.ssl.SSLServerSocketFactory; -import org.apache.log4j.Logger; +import org.apache.logging.log4j.LogManager; +import org.apache.logging.log4j.Logger; import org.apache.thrift.protocol.TProtocolFactory; import org.apache.thrift.server.THsHaServer; import org.apache.thrift.server.TServer; @@ -25,7 +26,7 @@ import org.openslx.bwlp.thrift.iface.SatelliteServer; import org.openslx.thrifthelper.TBinaryProtocolSafe; public class BinaryListener implements Runnable { - private static final Logger log = Logger.getLogger(BinaryListener.class); + private static final Logger log = LogManager.getLogger(BinaryListener.class); private static final int MAX_MSG_LEN = 30 * 1000 * 1000; private static final int MINWORKERTHREADS = 2; |