Skip to content

v0.2.50..v0.2.51 changeset RelationWithMostMembersOp.cpp

Garret Voltz edited this page Jan 15, 2020 · 1 revision
diff --git a/hoot-core/src/main/cpp/hoot/core/ops/RelationWithMostMembersOp.cpp b/hoot-core/src/main/cpp/hoot/core/ops/RelationWithMostMembersOp.cpp
index 3e5766f..f8342e5 100644
--- a/hoot-core/src/main/cpp/hoot/core/ops/RelationWithMostMembersOp.cpp
+++ b/hoot-core/src/main/cpp/hoot/core/ops/RelationWithMostMembersOp.cpp
@@ -150,8 +150,9 @@ void RelationWithMostMembersOp::apply(std::shared_ptr<OsmMap>& map)
     getIdOfRelationWithMaxCritSatisfactions(map, outRelation);
   if (idOfRelationWithMaxCritSatisfactions != 0)
   {
-    OsmUtils::logElementDetail(
-      outRelation, map, Log::Trace, "RelationWithMostMembersOp: output relation");
+    LOG_TRACE(
+      "RelationWithMostMembersOp: output relation\n" <<
+      OsmUtils::getElementDetailString(outRelation, map));
     // output a map with just the relation found and its members
     _setOutput(idOfRelationWithMaxCritSatisfactions, map);
   }
Clone this wiki locally