When debugging and diagnosing issues it is very helpful for the thread id to be included with each log message.
Adding a switch or having this behavior in some special mode may be sufficient for mongodb developers, but I can also see this being useful for diagnosing end-user problems as well.
This can be tested by add a line to "MessageEventDetailsEncoder::encode":
os << std::this_thread::get_id();
- is related to
-
SERVER-6555 Stack traces should show thread name
- Closed