This is an automated email from the ASF dual-hosted git repository.

robbie pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/qpid-jms.git


The following commit(s) were added to refs/heads/main by this push:
     new 91c8538  QPIDJMS-528: add id to the failure log for added clarity and 
consistency with other messages, bump level
91c8538 is described below

commit 91c853868f110a916939f4b3971da496b25757cd
Author: Robbie Gemmell <rob...@apache.org>
AuthorDate: Tue May 4 17:04:20 2021 +0100

    QPIDJMS-528: add id to the failure log for added clarity and consistency 
with other messages, bump level
---
 qpid-jms-client/src/main/java/org/apache/qpid/jms/JmsConnection.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/qpid-jms-client/src/main/java/org/apache/qpid/jms/JmsConnection.java 
b/qpid-jms-client/src/main/java/org/apache/qpid/jms/JmsConnection.java
index b15e781..4a1edfa 100644
--- a/qpid-jms-client/src/main/java/org/apache/qpid/jms/JmsConnection.java
+++ b/qpid-jms-client/src/main/java/org/apache/qpid/jms/JmsConnection.java
@@ -1375,7 +1375,7 @@ public class JmsConnection implements AutoCloseable, 
Connection, TopicConnection
     public void onConnectionFailure(final ProviderException ex) {
         providerFailed(ex);
 
-        LOG.info("Connection has failed due to error: {}", ex != null ? 
ex.getMessage() : "No error details provided.");
+        LOG.warn("Connection {} has failed due to: {}", 
connectionInfo.getId(), ex != null ? ex.getMessage() : "No error details 
provided.");
 
         // Signal that connection dropped we need to mark transactions as
         // failed, deliver failure events to asynchronous send completions etc.

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@qpid.apache.org
For additional commands, e-mail: commits-h...@qpid.apache.org

Reply via email to