Mercurial > hg > orthanc-transfers
changeset 17:7d56105ab084
improved logging
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 05 Mar 2019 10:07:29 +0100 |
parents | 2452e15d7746 |
children | 2099d52b3b57 |
files | Plugin/PluginContext.cpp |
diffstat | 1 files changed, 5 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/Plugin/PluginContext.cpp Mon Mar 04 17:27:50 2019 +0100 +++ b/Plugin/PluginContext.cpp Tue Mar 05 10:07:29 2019 +0100 @@ -38,14 +38,15 @@ { cache_.SetMaxMemorySize(memoryCacheSize); - LOG(INFO) << "Transfers accelerator will use " << threadsCount << " threads to run HTTP queries"; + LOG(INFO) << "Transfers accelerator will use " << threadsCount_ << " thread(s) to run HTTP queries"; LOG(INFO) << "Transfers accelerator will use keep local DICOM files in a memory cache of size: " << OrthancPlugins::ConvertToMegabytes(memoryCacheSize) << " MB"; LOG(INFO) << "Transfers accelerator will aim at HTTP queries of size: " - << OrthancPlugins::ConvertToKilobytes(targetBucketSize) << " KB"; + << OrthancPlugins::ConvertToKilobytes(targetBucketSize_) << " KB"; LOG(INFO) << "Transfers accelerator will be able to receive up to " - << maxPushTransactions << " push transactions at once"; - + << maxPushTransactions << " push transaction(s) at once"; + LOG(INFO) << "Transfers accelerator will retry " + << maxHttpRetries_ << " time(s) if some HTTP query fails"; }