Open ipa-rwu opened 5 months ago
I'd almost think that printing it to stderr can't be turned off via the configuration 🧐 That's something I need to fix.
There is a workaround:
#include "dds/ddsrt/log.h"
static void nullsink (void *p, const dds_log_data_t *d)
{
(void)p;
(void)d;
}
main() {
dds_set_log_sink (nullsink, NULL);
dds_create_participant(...);
}
should do the trick (I checked with a hacked version of ddsperf
).
Hi,
How to silence ddsi_log, such as from GVERROR? I am using peer to peer communication. Sometimes the peer is not exiting. Then I will get a lot of error such as
I would like to silence it.