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

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

commit 3105751a65c1aae14bb3104745489f06654d1830
Author: Ted Ross <tr...@apache.org>
AuthorDate: Mon May 16 19:38:08 2022 -0400

    DISPATCH-2344: Fixes #473 - Reduced the severity of "unknown router" logs 
from ERROR to WARNING.
    
    (cherry picked from commit cd616e792a142d7b016fe6440d19ac37d728fe1f)
---
 src/router_core/modules/mobile_sync/mobile.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/router_core/modules/mobile_sync/mobile.c 
b/src/router_core/modules/mobile_sync/mobile.c
index fe65284b..5a856af7 100644
--- a/src/router_core/modules/mobile_sync/mobile.c
+++ b/src/router_core/modules/mobile_sync/mobile.c
@@ -91,7 +91,7 @@ static void log_unknown_router(qdrm_mobile_sync_t *msync, 
qd_parsed_field_t *id_
     // There is a possibility here that router_id is null but that is fine. We 
want to print it out either way
     // which will help us in debugging.
     //
-    qd_log(msync->log, QD_LOG_ERROR, "Received %s from an unknown router with 
router id %s", opcode, r_id);
+    qd_log(msync->log, QD_LOG_WARNING, "Received %s from an unknown router 
with router id %s", opcode, r_id);
     free(r_id);
 }
 


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

Reply via email to