Opened 15 years ago

Closed 15 years ago

#921 closed enhancement (fixed)

New logging option/flag to include caller thread ID

Reported by: bennylp Owned by: bennylp
Priority: minor Milestone: release-1.4
Component: pjlib Version: trunk
Keywords: Cc:
Backport to 1.x milestone: Backported:


New logging flag PJ_LOG_HAS_THREAD_ID can be used to include the caller thread ID in the log message. This would be useful to troubleshoot threading related problems such as deadlocks.

Application would have to activate this flag explicitly to use this feature, either with pj_log_set_decor() or via pjsua_logging_config.decor, since this option is not used by default.

Change History (1)

comment:1 Changed 15 years ago by bennylp

  • Resolution set to fixed
  • Status changed from new to closed

Done in r2842

Note: See TracTickets for help on using tickets.