From 3c407a5d68553ef7d6997e9d242cd289dfcdfabb Mon Sep 17 00:00:00 2001 From: Erik Boasson Date: Thu, 9 Jan 2020 14:57:42 +0100 Subject: [PATCH] Fix tracing discovery of a non-secure participant Use DISCOVERY instead of INFO (which ends up in the log, and so by default on stderr). Signed-off-by: Erik Boasson --- src/core/ddsi/src/q_entity.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/ddsi/src/q_entity.c b/src/core/ddsi/src/q_entity.c index 264ca47..53f215e 100644 --- a/src/core/ddsi/src/q_entity.c +++ b/src/core/ddsi/src/q_entity.c @@ -4734,7 +4734,7 @@ void new_proxy_participant */ entidx_insert_proxy_participant_guid (gv->entity_index, proxypp); add_proxy_builtin_endpoints(gv, ppguid, proxypp, timestamp); - DDS_CLOG (DDS_LC_INFO, &gv->logconfig, "Un-secure participant "PGUIDFMT" tries to connect.\n", PGUID (*ppguid)); + ELOGDISC (proxypp, "Un-secure participant "PGUIDFMT" tries to connect.\n", PGUID (*ppguid)); } #else /* Proxy participant must be in the hash tables for new_proxy_{writer,reader} to work */