Mercurial > hg > orthanc
comparison OrthancFramework/Sources/DicomNetworking/DicomAssociationParameters.cpp @ 4284:756126cd2219
moving all logs from DicomNetworking folder into the "dicom" category
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 04 Nov 2020 15:01:47 +0100 |
parents | bf7b9edf6b81 |
children | 3b70a2e6a06c |
comparison
equal
deleted
inserted
replaced
4283:6b58ceed959e | 4284:756126cd2219 |
---|---|
136 } | 136 } |
137 | 137 |
138 | 138 |
139 void DicomAssociationParameters::SetDefaultTimeout(uint32_t seconds) | 139 void DicomAssociationParameters::SetDefaultTimeout(uint32_t seconds) |
140 { | 140 { |
141 LOG(INFO) << "Default timeout for DICOM connections if Orthanc acts as SCU (client): " | 141 CLOG(INFO, DICOM) << "Default timeout for DICOM connections if Orthanc acts as SCU (client): " |
142 << seconds << " seconds (0 = no timeout)"; | 142 << seconds << " seconds (0 = no timeout)"; |
143 | 143 |
144 { | 144 { |
145 boost::mutex::scoped_lock lock(defaultTimeoutMutex_); | 145 boost::mutex::scoped_lock lock(defaultTimeoutMutex_); |
146 defaultTimeout_ = seconds; | 146 defaultTimeout_ = seconds; |
147 } | 147 } |