I noticed today that when Qpid client session fails to log in (due to an
invalid password), the log entry that's generated is at DEBUG level:

2019-07-18 11:00:32,262|DEBUG|FailoverProvider: async work
thread|o.a.q.j.JmsConnection|Async exception with no exception listener: {}
java.io.IOException: Client failed to authenticate using SASL: SCRAM-SHA-256
        at
org.apache.qpid.jms.util.IOExceptionSupport.create(IOExceptionSupport.java:45)
        at
org.apache.qpid.jms.provider.ProviderFuture.failOnError(ProviderFuture.java:118)

The only entry showing up at ERROR level is the following:
2019-07-18 10:45:33,649|ERROR|FailoverProvider: async work
thread|o.a.q.j.p.f.FailoverProvider|Failed to connect after: 1 attempt(s)

So if log level is set to WARN or ERROR, the reason for connectivity
failure is not recorded.

Can that be changed, or is there a reason for it to be in Debug level?

Thanks!

Reply via email to