减少 Wildfly 日志中的 javax.net.ssl 噪音
Reduce javax.net.ssl noise in Wildfly logs
我收到了很多这样的消息,都是关于我故意不支持的 SSL 协议的,例如SSLv3、TLS1.0 等
2020-02-06 13:08:30,600 ERROR [io.undertow.request] (default I/O-2) Closing SSLConduit after exception on handshake: javax.net.ssl.SSLHandshakeException: No matching application layer protocol values
at java.base/sun.security.ssl.Alert.createSSLException(Alert.java:131)
at java.base/sun.security.ssl.Alert.createSSLException(Alert.java:117)
at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:311)
at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:267)
如何在 Wildfly 中抑制这些?
使用 CLI 这应该有效:
/subsystem=logging/logger=io.undertow.request:add(level=FATAL)
我收到了很多这样的消息,都是关于我故意不支持的 SSL 协议的,例如SSLv3、TLS1.0 等
2020-02-06 13:08:30,600 ERROR [io.undertow.request] (default I/O-2) Closing SSLConduit after exception on handshake: javax.net.ssl.SSLHandshakeException: No matching application layer protocol values
at java.base/sun.security.ssl.Alert.createSSLException(Alert.java:131)
at java.base/sun.security.ssl.Alert.createSSLException(Alert.java:117)
at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:311)
at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:267)
如何在 Wildfly 中抑制这些?
使用 CLI 这应该有效:
/subsystem=logging/logger=io.undertow.request:add(level=FATAL)