summaryrefslogtreecommitdiffstats
path: root/filedistribution
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2017-10-13 12:12:59 +0200
committerHenning Baldersheim <balder@yahoo-inc.com>2017-10-13 12:12:59 +0200
commit36fa7fa1f97d14b358d1a703be91712d39514aed (patch)
tree35556df7e4c94711cb2136a6dba5cfce38e4f804 /filedistribution
parent2887ea1516ab72e10612c192d1af3296f8af97f0 (diff)
Put the filereferences in ''
Diffstat (limited to 'filedistribution')
-rw-r--r--filedistribution/src/vespa/filedistribution/distributor/filedownloader.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/filedistribution/src/vespa/filedistribution/distributor/filedownloader.cpp b/filedistribution/src/vespa/filedistribution/distributor/filedownloader.cpp
index 0ab21e8cc42..b917bc015ec 100644
--- a/filedistribution/src/vespa/filedistribution/distributor/filedownloader.cpp
+++ b/filedistribution/src/vespa/filedistribution/distributor/filedownloader.cpp
@@ -285,7 +285,7 @@ FileDownloader::pathToCompletedFile(const std::string& fileReference) const {
boost::optional<FileDownloader::ResumeDataBuffer>
FileDownloader::getResumeData(const std::string& fileReference) {
- LOG(debug, "Reading resume data for %s ", fileReference.c_str());
+ LOG(debug, "Reading resume data for '%s'", fileReference.c_str());
try {
fs::path path = (_dbPath / fileReference).string() + resumeDataSuffix;
if (fs::exists(path)) {
@@ -294,7 +294,7 @@ FileDownloader::getResumeData(const std::string& fileReference) {
std::istream_iterator<char> iterator(file), end;
std::copy(iterator, end, std::back_inserter(result));
- LOG(debug, "Successfully retrieved resume data for %s ", fileReference.c_str());
+ LOG(debug, "Successfully retrieved resume data for '%s'", fileReference.c_str());
if (result.size() < 50) {
LOG(info, "Very small resume file %zu bytes.", result.size());
}
@@ -303,7 +303,7 @@ FileDownloader::getResumeData(const std::string& fileReference) {
}
} catch(...) {
//resume data is only an optimization
- LOG(info, "Error while reading resume data for %s", fileReference.c_str());
+ LOG(info, "Error while reading resume data for '%s'", fileReference.c_str());
}
return boost::optional<ResumeDataBuffer>();
}