maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Barrie Treloar <>
Subject Re: Help hiding INFO messages from Apache MINA SSHD
Date Thu, 05 Dec 2013 22:24:22 GMT
On 6 December 2013 02:57, Andrew Pennebaker <> wrote:
> I'm using Apache MINA SSHD for some unit tests, and all the INFO messages
> it spits out are making it hard to see my own INFO messages. I came across
> a helpful<>in
> project gerrit, and started writing my own file based on that.
> Unfortunately, these settings are being ignored in my Maven project, and I
> can't figure out why.
> *`mvn test -Dlog4j.debug=true` shows my being loaded
> after the first sshd INFO message, and once my settings are loaded, sshd
> INFO messages are still printed.*
> * I've tried setting the threshold to WARN.
> * I've tried setting to WARN.
> * I've tried tried turning off
> * I've tried using log4j.xml.
> * I've tried writing configuration in src/main/resources/.
> * I've tried writing configuration in src/test/resources/.
> Any idea why this would happen?

Mina SSHD is not in the central repository.
So I assume that you have downloaded this and start it up manually.

Pulling down the binaries I can see that Mina SSHD uses slf4j and the
slf4j-simple-1.6.4.jar binding.
According to
"Binding for Simple implementation, which outputs all events to
System.err. Only messages of level INFO and higher are printed. This
binding may be useful in the context of small applications."

You will need to swap this binding with the one you want.
If you just want to ignore the Mina SSHD messages then use slf4j-nop-1.7.5.jar.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message