diff OrthancServer/Sources/OrthancWebDav.cpp @ 5450:9ffd6d18daf3 pg-transactions

log lines now contain the thread name
author Alain Mazy <am@osimis.io>
date Tue, 05 Dec 2023 16:26:35 +0100
parents 0ea402b4d901
children 48b8dae6dc77
line wrap: on
line diff
--- a/OrthancServer/Sources/OrthancWebDav.cpp	Wed Nov 29 09:28:21 2023 +0100
+++ b/OrthancServer/Sources/OrthancWebDav.cpp	Tue Dec 05 16:26:35 2023 +0100
@@ -1221,6 +1221,8 @@
 
   void OrthancWebDav::UploadWorker(OrthancWebDav* that)
   {
+    Logging::SetCurrentThreadName("WEBDAV-UPLOAD");
+
     assert(that != NULL);
 
     boost::posix_time::ptime lastModification = GetNow();