diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2017-06-06 23:39:49 +0200 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2017-06-07 09:50:24 +0200 |
commit | 85e6d602d93f5e4e19043f7a829e72b554bef6a5 (patch) | |
tree | 60aadaaa77238bc08584dfbb15b8f7b746aaf05e /document | |
parent | 0b0e56d67df802eaa6c503edf6777b5e89625608 (diff) |
split log and bufferedlog
Diffstat (limited to 'document')
3 files changed, 5 insertions, 7 deletions
diff --git a/document/src/vespa/document/fieldvalue/mapfieldvalue.cpp b/document/src/vespa/document/fieldvalue/mapfieldvalue.cpp index a2bc5b97299..2b37c43be55 100644 --- a/document/src/vespa/document/fieldvalue/mapfieldvalue.cpp +++ b/document/src/vespa/document/fieldvalue/mapfieldvalue.cpp @@ -5,6 +5,7 @@ #include "iteratorhandler.h" #include <vespa/document/base/exceptions.h> #include <vespa/vespalib/util/xmlstream.h> +#include <ostream> #include <vespa/log/log.h> LOG_SETUP(".document.fieldvalue.map"); @@ -208,8 +209,7 @@ MapFieldValue::compare(const FieldValue& other) const } void -MapFieldValue::print(std::ostream& out, bool verbose, - const std::string& indent) const +MapFieldValue::print(std::ostream& out, bool verbose, const std::string& indent) const { out << "Map("; diff --git a/document/src/vespa/document/update/addfieldpathupdate.cpp b/document/src/vespa/document/update/addfieldpathupdate.cpp index 656ee4580a0..0f8b730367e 100644 --- a/document/src/vespa/document/update/addfieldpathupdate.cpp +++ b/document/src/vespa/document/update/addfieldpathupdate.cpp @@ -6,12 +6,10 @@ #include <vespa/document/serialization/vespadocumentdeserializer.h> #include <vespa/vespalib/objects/nbostream.h> #include <vespa/vespalib/util/exceptions.h> -#include <vespa/log/log.h> +#include <ostream> using vespalib::nbostream; -LOG_SETUP(".document.update.fieldpathupdate"); - namespace document { using namespace fieldvalue; @@ -53,7 +51,6 @@ private: ModificationStatus AddIteratorHandler::doModify(FieldValue &fv) { - LOG(spam, "Adding values to %s", fv.toString().c_str()); if (fv.inherits(CollectionFieldValue::classId)) { CollectionFieldValue &cf = static_cast<CollectionFieldValue &>(fv); for (std::size_t i = 0; i < _values.size(); ++i) { diff --git a/document/src/vespa/document/update/fieldpathupdate.cpp b/document/src/vespa/document/update/fieldpathupdate.cpp index 37672ac0b1d..11ed5f08c93 100644 --- a/document/src/vespa/document/update/fieldpathupdate.cpp +++ b/document/src/vespa/document/update/fieldpathupdate.cpp @@ -4,8 +4,9 @@ #include <vespa/document/fieldvalue/iteratorhandler.h> #include <vespa/document/select/parser.h> #include <vespa/document/util/serializableexceptions.h> -#include <vespa/log/log.h> +#include <ostream> +#include <vespa/log/log.h> LOG_SETUP(".document.update.fieldpathupdate"); using vespalib::make_string; |