fully disable logging?

AB
Adi Bier
Tue, Feb 12, 2019 1:52 PM

Hi all

how I can fully suppress the debugging output like this:

14:42:04.482         os_core_unix.c !pjlib 2.8 for POSIX initialized
14:42:04.497         sip_endpoint.c  .Creating endpoint instance...
14:42:04.497                  pjlib  .select() I/O Queue created
(0x5587a16815d0)
14:42:04.497         sip_endpoint.c  .Module "mod-msg-print" registered
14:42:04.497        sip_transport.c  .Transport manager created.
14:42:04.497           pjsua_core.c  .PJSUA state changed: NULL --> CREATED

I've setup:

ep_cfg.logConfig.level = 0;
pj_log_set_level(0);

but always get this six lines of output. Is there a chance to fully
disable it?

Thank you,

regards Adi

Hi all how I can fully suppress the debugging output like this: 14:42:04.482         os_core_unix.c !pjlib 2.8 for POSIX initialized 14:42:04.497         sip_endpoint.c  .Creating endpoint instance... 14:42:04.497                  pjlib  .select() I/O Queue created (0x5587a16815d0) 14:42:04.497         sip_endpoint.c  .Module "mod-msg-print" registered 14:42:04.497        sip_transport.c  .Transport manager created. 14:42:04.497           pjsua_core.c  .PJSUA state changed: NULL --> CREATED I've setup: ep_cfg.logConfig.level = 0; pj_log_set_level(0); but always get this six lines of output. Is there a chance to fully disable it? Thank you, regards Adi