# HG changeset patch # User Sebastien Jodogne # Date 1783430061 -7200 # Node ID 857f6d9a1089b9349f8d185423fa79f98f8bfafe # Parent 8ad26f2410842db1dccd0ab71d43067f14bad1e8 log thread contexts from plugins diff -r 8ad26f241084 -r 857f6d9a1089 OrthancFramework/Sources/Logging.cpp --- a/OrthancFramework/Sources/Logging.cpp Tue Jul 07 15:03:40 2026 +0200 +++ b/OrthancFramework/Sources/Logging.cpp Tue Jul 07 15:14:21 2026 +0200 @@ -1411,6 +1411,16 @@ // set to "/dev/null" return; } + else + { + if (enableThreadContexts_) + { + ThreadsInformations::CurrentThreadReader reader(threadsInformations_); + std::string prefix; + reader.FormatContext(prefix); + messageStream_ << prefix; + } + } } else {