Change from from CM to CM_WARN level and include in non-debug build.

Signed-off-by: Arlin Davis <[email protected]>
---
 dapl/common/dapl_cr_callback.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dapl/common/dapl_cr_callback.c b/dapl/common/dapl_cr_callback.c
index 1f6dd6d..8bfbb3e 100644
--- a/dapl/common/dapl_cr_callback.c
+++ b/dapl/common/dapl_cr_callback.c
@@ -152,8 +152,8 @@ void dapls_cr_callback(IN dp_ib_cm_handle_t ib_cm_handle, 
IN const ib_cm_events_
                        dapl_os_lock(&sp_ptr->header.lock);
                        if (sp_ptr->listening == DAT_FALSE) {
                                dapl_os_unlock(&sp_ptr->header.lock);
-                               dapl_dbg_log(DAPL_DBG_TYPE_CM,
-                                            "---> dapls_cr_callback: conn 
event on down SP\n");
+                               dapl_log(DAPL_DBG_TYPE_CM_WARN,
+                                        " cr_callback: CR event on 
non-listening SP\n");
                                (void)dapls_ib_reject_connection(ib_cm_handle,
                                                                 
DAT_CONNECTION_EVENT_UNREACHABLE,
                                                                 0, NULL);
-- 
1.7.3



_______________________________________________
ofw mailing list
[email protected]
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ofw

Reply via email to