You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "jpalacios (JIRA)" <ji...@apache.org> on 2018/07/31 06:29:00 UTC

[jira] [Created] (SSHD-838) Lower the log level in Nio2Acceptor.AcceptCompletionHandler#okToReaccept

jpalacios created SSHD-838:
------------------------------

             Summary: Lower the log level in Nio2Acceptor.AcceptCompletionHandler#okToReaccept
                 Key: SSHD-838
                 URL: https://issues.apache.org/jira/browse/SSHD-838
             Project: MINA SSHD
          Issue Type: Bug
    Affects Versions: 2.0.0
            Reporter: jpalacios
         Attachments: sshd-nio-acceptor-logging.patch

As discussed in [SSHD-833|https://issues.apache.org/jira/browse/SSHD-833], it appears that when a client disconnects before the handshake completes there's some pretty loud logging coming from the {{Nio2Acceptor.AcceptCompletionHandler#okToReaccept}}.

The entire message is logged at {{WARN}} level. Also, several lines from the stack trace are logged individually at the same level.

We feel this much logging at {{WARN}} level will be too much noise for system administrators who might think there's something wrong with the system. We propose:
# Changing the log level to {{DEBUG}} / {{FINE}} 
# Logging the stacktrace in a single message




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)