Martin Lichtin created SSHD-450:
-----------------------------------

             Summary: Consider logging session setup with level 'debug'
                 Key: SSHD-450
                 URL: https://issues.apache.org/jira/browse/SSHD-450
             Project: MINA SSHD
          Issue Type: Wish
         Environment: Karaf 3.0.3
            Reporter: Martin Lichtin
            Priority: Minor


Currently sshd is quite verbose. I'd argue this could be changed to debug level:

2015-04-22 10:01:21,005 | INFO  | [5aa3b5a7]-nio2-thread-1 | ServerSession      
              | shd.server.session.ServerSession   57 | 28 - 
org.apache.sshd.core - 0.12.0 | Server session created from 
/0:0:0:0:0:0:0:1:58934
2015-04-22 10:01:21,006 | INFO  | [5aa3b5a7]-nio2-thread-1 | ServerSession      
              | d.common.session.AbstractSession 1114 | 28 - 
org.apache.sshd.core - 0.12.0 | Kex: server->client aes128-ctr hmac-sha1 none
2015-04-22 10:01:21,007 | INFO  | [5aa3b5a7]-nio2-thread-1 | ServerSession      
              | d.common.session.AbstractSession 1118 | 28 - 
org.apache.sshd.core - 0.12.0 | Kex: client->server aes128-ctr hmac-sha1 none
2015-04-22 10:01:21,072 | INFO  | [5aa3b5a7]-nio2-thread-6 | 
ServerUserAuthService            | er.session.ServerUserAuthService  207 | 28 - 
org.apache.sshd.core - 0.12.0 | Session karaf@/0:0:0:0:0:0:0:1:58934 
authenticated
2015-04-22 10:01:21,074 | INFO  | [5aa3b5a7]-nio2-thread-9 | ChannelSession     
              | hd.server.channel.ChannelSession  412 | 28 - 
org.apache.sshd.core - 0.12.0 | Executing command: abc
2015-04-22 10:03:23,212 | INFO  | [5aa3b5a7]-nio2-thread-3 | ServerSession      
              | shd.server.session.ServerSession   57 | 28 - 
org.apache.sshd.core - 0.12.0 | Server session created from 
/0:0:0:0:0:0:0:1:58945
2015-04-22 10:03:23,213 | INFO  | [5aa3b5a7]-nio2-thread-3 | ServerSession      
              | d.common.session.AbstractSession 1114 | 28 - 
org.apache.sshd.core - 0.12.0 | Kex: server->client aes128-ctr hmac-sha1 none
2015-04-22 10:03:23,213 | INFO  | [5aa3b5a7]-nio2-thread-3 | ServerSession      
              | d.common.session.AbstractSession 1118 | 28 - 
org.apache.sshd.core - 0.12.0 | Kex: client->server aes128-ctr hmac-sha1 none
2015-04-22 10:03:23,281 | INFO  | [5aa3b5a7]-nio2-thread-2 | 
ServerUserAuthService            | er.session.ServerUserAuthService  207 | 28 - 
org.apache.sshd.core - 0.12.0 | Session karaf@/0:0:0:0:0:0:0:1:58945 
authenticated
2015-04-22 10:03:23,289 | INFO  | [5aa3b5a7]-nio2-thread-9 | ChannelSession     
              | hd.server.channel.ChannelSession  412 | 28 - 
org.apache.sshd.core - 0.12.0 | Executing command: abc
2015-04-22 10:05:25,479 | INFO  | [5aa3b5a7]-nio2-thread-3 | ServerSession      
              | shd.server.session.ServerSession   57 | 28 - 
org.apache.sshd.core - 0.12.0 | Server session created from 
/0:0:0:0:0:0:0:1:58958
2015-04-22 10:05:25,480 | INFO  | [5aa3b5a7]-nio2-thread-3 | ServerSession      
              | d.common.session.AbstractSession 1114 | 28 - 
org.apache.sshd.core - 0.12.0 | Kex: server->client aes128-ctr hmac-sha1 none
2015-04-22 10:05:25,480 | INFO  | [5aa3b5a7]-nio2-thread-3 | ServerSession      
              | d.common.session.AbstractSession 1118 | 28 - 
org.apache.sshd.core - 0.12.0 | Kex: client->server aes128-ctr hmac-sha1 none
2015-04-22 10:05:25,546 | INFO  | [5aa3b5a7]-nio2-thread-5 | 
ServerUserAuthService            | er.session.ServerUserAuthService  207 | 28 - 
org.apache.sshd.core - 0.12.0 | Session karaf@/0:0:0:0:0:0:0:1:58958 
authenticated
2015-04-22 10:05:25,548 | INFO  | [5aa3b5a7]-nio2-thread-5 | ChannelSession     
              | hd.server.channel.ChannelSession  412 | 28 - 
org.apache.sshd.core - 0.12.0 | Executing command: abc





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to