kafka-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rsiva...@apache.org
Subject [kafka] branch trunk updated: KAFKA-3702: Change log level of SSL close_notify failure (#5397)
Date Fri, 20 Jul 2018 08:23:07 GMT
This is an automated email from the ASF dual-hosted git repository.

rsivaram pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/kafka.git

The following commit(s) were added to refs/heads/trunk by this push:
     new 980b725  KAFKA-3702: Change log level of SSL close_notify failure (#5397)
980b725 is described below

commit 980b725bb09ee42469534bf50d01118ce650880a
Author: Rajini Sivaram <rajinisivaram@googlemail.com>
AuthorDate: Fri Jul 20 09:23:01 2018 +0100

    KAFKA-3702: Change log level of SSL close_notify failure (#5397)
    SslTransportLayer currently closes the SSL engine and logs a warning if close_notify message
canot be sent because the remote end closed its connection. This tends to fill up broker logs,
especially when using clients which close connections immediately. Since this log entry is
not very useful anyway, it would be better to log at debug level.
    Reviewers: Jason Gustafson <jason@confluent.io>, Ismael Juma <ismael@juma.me.uk>
 .../main/java/org/apache/kafka/common/network/SslTransportLayer.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/clients/src/main/java/org/apache/kafka/common/network/SslTransportLayer.java
index 838a6a7..08a39e7 100644
--- a/clients/src/main/java/org/apache/kafka/common/network/SslTransportLayer.java
+++ b/clients/src/main/java/org/apache/kafka/common/network/SslTransportLayer.java
@@ -177,7 +177,7 @@ public class SslTransportLayer implements TransportLayer {
         } catch (IOException ie) {
-            log.warn("Failed to send SSL Close message", ie);
+            log.debug("Failed to send SSL Close message", ie);
         } finally {

View raw message