# HG changeset patch # User Sebastien Jodogne # Date 1619020603 -7200 # Node ID 5931c2ff22ca19954090c5ebe8c339fc509f5460 # Parent 567761f0c1ea2ba05fbb1b111160e5351ba1bd7c improved log diff -r 567761f0c1ea -r 5931c2ff22ca Framework/Plugins/StorageBackend.cpp --- a/Framework/Plugins/StorageBackend.cpp Wed Apr 21 17:54:31 2021 +0200 +++ b/Framework/Plugins/StorageBackend.cpp Wed Apr 21 17:56:43 2021 +0200 @@ -673,9 +673,6 @@ # if ORTHANC_PLUGINS_VERSION_IS_ABOVE(1, 9, 0) if (OrthancPluginCheckVersionAdvanced(context, 1, 9, 0) == 1) { - LOG(WARNING) << "The storage area plugin will retry up to " << backend_->GetMaxRetries() - << " time(s) in the case of a collision"; - OrthancPluginStorageReadRange readRange = NULL; if (backend_->HasReadRange()) { @@ -693,6 +690,9 @@ LOG(WARNING) << "Performance warning: Your version of the Orthanc core doesn't support reading of file ranges"; OrthancPluginRegisterStorageArea(context_, StorageCreate, StorageRead, StorageRemove); } + + LOG(WARNING) << "The storage area plugin will retry up to " << backend_->GetMaxRetries() + << " time(s) in the case of a collision"; } }