DEBUG_THREADID

🛠️
Parameter: DEBUG_THREADID
Short description: Adds process ID and thread ID to console/log messages – very helpful for multi-thread debugging.

Profile

Parameter
DEBUG_THREADID
Category
Logging / Debug
Component
Server, Client
Available since
R6
Supported versions
9.0.1, 10.0, 11.0, 12.0, 14.0, 14.5
GUI equivalent
notes.ini only (no GUI)
Possible values
0 = off, 1 = enabled

Description

With DEBUG_THREADID=1, Notes/Domino extends every console and log line with the corresponding process ID (PID) and thread ID. This makes it possible to trace which worker (router thread, HTTP worker, replicator slot, …) carried out an action – indispensable for analyzing hangs, deadlocks, or interleaved operations of multiple parallel tasks.
In combination with NSDs and console.log, suspicious threads can be tracked specifically.

Example configuration

DEBUG_THREADID=1 Console_Log_Enabled=1

Notes & pitfalls

  • Slightly increases log volume (additional characters per line).
  • Sensible to leave permanently enabled – minimal overhead, major diagnostic value.
  • Complements Show_Task_Detail, Debug_Outfile, and NSD analyses.
  • For LotusScript debugging, additionally use DEBUG_PRINT_* variants.
  • The change takes effect only after a server/client restart.