diff options
author | Henning Baldersheim <balder@oath.com> | 2018-08-20 23:41:49 +0200 |
---|---|---|
committer | Henning Baldersheim <balder@oath.com> | 2018-08-20 23:41:49 +0200 |
commit | 1d930cbddc00bf9a761eae48a2fd89bd6c5cc570 (patch) | |
tree | 88fab657828c157fbbfbd1f533cbdab298989520 | |
parent | ae524c2faaaa8eac848791784e56529143283711 (diff) |
Do not loose information now.
-rw-r--r-- | searchcore/src/vespa/searchcore/proton/attribute/attribute_initializer.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/searchcore/src/vespa/searchcore/proton/attribute/attribute_initializer.cpp b/searchcore/src/vespa/searchcore/proton/attribute/attribute_initializer.cpp index ca170a5d388..d8970d79ef2 100644 --- a/searchcore/src/vespa/searchcore/proton/attribute/attribute_initializer.cpp +++ b/searchcore/src/vespa/searchcore/proton/attribute/attribute_initializer.cpp @@ -178,9 +178,8 @@ AttributeInitializer::loadAttribute(const AttributeVectorSP &attr, fastos::TimeStamp startTime = fastos::ClockSystem::now(); EventLogger::loadAttributeStart(_documentSubDbName, attr->getName()); if (!attr->load()) { - LOG(warning, "Could not load attribute vector '%s' from disk. " - "Returning empty attribute vector", - attr->getBaseFileName().c_str()); + LOG(warning, "Could not load attribute vector '%s' from disk. Returning empty attribute vector", + attr->getBaseFileName().c_str()); return false; } else { attr->commit(serialNum, serialNum); @@ -204,7 +203,7 @@ AttributeInitializer::setupEmptyAttribute(AttributeVectorSP &attr, search::Seria if (!headerTypeOK(header, attr->getConfig())) { logAttributeWrongType(attr, header); } - LOG(info, "Returning empty attribute vector for '%s'", attr->getName().c_str()); + LOG(info, "Returning empty attribute vector for '%s'", attr->getBaseFileName().c_str()); _factory.setupEmpty(attr, _currentSerialNum); attr->commit(serialNum, serialNum); } |