Thanks! I've tracked down my local bug - turns out my client wasn't
dieing when it was ment to during a re-start leading to two clients
figthing over a single server. But the lack of logging from mina is
still a mystery, perhaps it wasn't executing the paths I thought.
anyway, a possible tweak from all this, can something like:
@Override
public String toString() {
String username = this.getUsername();
if (username == null) {
// username is null until authentication completes.
return this.getIoSession().getRemoteAddress() + "->" +
this.getIoSession().getLocalAddress();
} else {
return username + "@" +
this.getIoSession().getRemoteAddress() + "->" +
this.getIoSession().getLocalAddress();
}
}
be added to ServerSession; and similar for clientSessionImpl so it is
easier to identify which session instance is which vis:
log.debug("The ssh session is {}", mySshSession);
... - The session is service@/127.0.0.1:64255->/127.0.0.1:22
On Wed, Feb 6, 2013 at 10:16 AM, Emmanuel Lécharny <[email protected]> wrote:
> Le 2/6/13 3:15 PM, Andrew Cagney a écrit :
>> Yea, unfortunately that won't help the bug I'm chasing - I need
>> logging information from the detailed internals of MINA.
> There is not much logs in MINA...
>
> What is the problem you have ? We may give a hands if needed... If you
> need to discuss about it instead of writing a long mail, we can hang on
> IRC (channel #mina)
>
>
> --
> Regards,
> Cordialement,
> Emmanuel Lécharny
> www.iktek.com
>
On Wed, Feb 6, 2013 at 10:16 AM, Emmanuel Lécharny <[email protected]> wrote:
> Le 2/6/13 3:15 PM, Andrew Cagney a écrit :
>> Yea, unfortunately that won't help the bug I'm chasing - I need
>> logging information from the detailed internals of MINA.
> There is not much logs in MINA...
>
> What is the problem you have ? We may give a hands if needed... If you
> need to discuss about it instead of writing a long mail, we can hang on
> IRC (channel #mina)
>
>
> --
> Regards,
> Cordialement,
> Emmanuel Lécharny
> www.iktek.com
>
On Wed, Feb 6, 2013 at 10:16 AM, Emmanuel Lécharny <[email protected]> wrote:
> Le 2/6/13 3:15 PM, Andrew Cagney a écrit :
>> Yea, unfortunately that won't help the bug I'm chasing - I need
>> logging information from the detailed internals of MINA.
> There is not much logs in MINA...
>
> What is the problem you have ? We may give a hands if needed... If you
> need to discuss about it instead of writing a long mail, we can hang on
> IRC (channel #mina)
>
>
> --
> Regards,
> Cordialement,
> Emmanuel Lécharny
> www.iktek.com
>