From 3eb85a89ebf1721da090feafee88a6c52eb47331 Mon Sep 17 00:00:00 2001 From: laura-ding <48548375+laura-ding@users.noreply.github.com> Date: Fri, 20 Mar 2020 10:46:11 +0800 Subject: [PATCH] modify log level --- src/graph/ExecutionPlan.cpp | 2 +- src/graph/FetchEdgesExecutor.cpp | 1 - src/graph/FetchVerticesExecutor.cpp | 1 - src/graph/GoExecutor.cpp | 1 - src/graph/GroupByExecutor.cpp | 2 -- src/graph/LimitExecutor.cpp | 1 - src/graph/LookupExecutor.cpp | 1 - src/graph/OrderByExecutor.cpp | 1 - src/graph/ReturnExecutor.cpp | 1 - src/graph/UpdateEdgeExecutor.cpp | 1 - src/graph/UpdateVertexExecutor.cpp | 2 -- src/graph/YieldExecutor.cpp | 1 - 12 files changed, 1 insertion(+), 14 deletions(-) diff --git a/src/graph/ExecutionPlan.cpp b/src/graph/ExecutionPlan.cpp index 93700967ff6..ec0856ae925 100644 --- a/src/graph/ExecutionPlan.cpp +++ b/src/graph/ExecutionPlan.cpp @@ -13,7 +13,7 @@ namespace graph { void ExecutionPlan::execute() { auto *rctx = ectx()->rctx(); - FLOG_INFO("Parsing query: %s", rctx->query().c_str()); + VLOG(1) << "Parsing query: " << rctx->query().c_str(); Status status; do { diff --git a/src/graph/FetchEdgesExecutor.cpp b/src/graph/FetchEdgesExecutor.cpp index 1cf2dc65960..a31df4802b4 100644 --- a/src/graph/FetchEdgesExecutor.cpp +++ b/src/graph/FetchEdgesExecutor.cpp @@ -134,7 +134,6 @@ Status FetchEdgesExecutor::checkEdgeProps() { } void FetchEdgesExecutor::execute() { - FLOG_INFO("Executing FetchEdges: %s", sentence_->toString().c_str()); auto status = prepareClauses(); if (!status.ok()) { doError(std::move(status)); diff --git a/src/graph/FetchVerticesExecutor.cpp b/src/graph/FetchVerticesExecutor.cpp index ace55ab2ecc..75c04b68d1c 100644 --- a/src/graph/FetchVerticesExecutor.cpp +++ b/src/graph/FetchVerticesExecutor.cpp @@ -115,7 +115,6 @@ Status FetchVerticesExecutor::checkTagProps() { } void FetchVerticesExecutor::execute() { - FLOG_INFO("Executing FetchVertices: %s", sentence_->toString().c_str()); auto status = prepareClauses(); if (!status.ok()) { doError(std::move(status)); diff --git a/src/graph/GoExecutor.cpp b/src/graph/GoExecutor.cpp index 43b113d911c..589eddbeaab 100644 --- a/src/graph/GoExecutor.cpp +++ b/src/graph/GoExecutor.cpp @@ -90,7 +90,6 @@ Status GoExecutor::prepareClauses() { void GoExecutor::execute() { - FLOG_INFO("Executing Go: %s", sentence_->toString().c_str()); auto status = prepareClauses(); if (!status.ok()) { doError(std::move(status)); diff --git a/src/graph/GroupByExecutor.cpp b/src/graph/GroupByExecutor.cpp index f3a8bbf7c27..4376fe4f821 100644 --- a/src/graph/GroupByExecutor.cpp +++ b/src/graph/GroupByExecutor.cpp @@ -179,8 +179,6 @@ Status GroupByExecutor::checkAll() { void GroupByExecutor::execute() { - FLOG_INFO("Executing Group by: %s", sentence_->toString().c_str()); - if (inputs_ == nullptr || !inputs_->hasData()) { onEmptyInputs(); return; diff --git a/src/graph/LimitExecutor.cpp b/src/graph/LimitExecutor.cpp index 9cd0393f590..7c59f74e6f1 100644 --- a/src/graph/LimitExecutor.cpp +++ b/src/graph/LimitExecutor.cpp @@ -31,7 +31,6 @@ Status LimitExecutor::prepare() { void LimitExecutor::execute() { - FLOG_INFO("Executing Limit: %s", sentence_->toString().c_str()); if (inputs_ == nullptr) { onEmptyInputs(); return; diff --git a/src/graph/LookupExecutor.cpp b/src/graph/LookupExecutor.cpp index 267597d4ae9..f4d6656b349 100644 --- a/src/graph/LookupExecutor.cpp +++ b/src/graph/LookupExecutor.cpp @@ -357,7 +357,6 @@ void LookupExecutor::stepVertexOut() { } void LookupExecutor::execute() { - FLOG_INFO("Executing LOOKUP: %s", sentence_->toString().c_str()); auto status = prepareClauses(); if (!status.ok()) { doError(std::move(status)); diff --git a/src/graph/OrderByExecutor.cpp b/src/graph/OrderByExecutor.cpp index 6bb653d4f56..925460fd45f 100644 --- a/src/graph/OrderByExecutor.cpp +++ b/src/graph/OrderByExecutor.cpp @@ -78,7 +78,6 @@ Status OrderByExecutor::prepare() { } void OrderByExecutor::execute() { - FLOG_INFO("Executing Order By: %s", sentence_->toString().c_str()); auto status = beforeExecute(); if (!status.ok()) { LOG(ERROR) << "Error happened before execute: " << status.toString(); diff --git a/src/graph/ReturnExecutor.cpp b/src/graph/ReturnExecutor.cpp index bdf8d3dad80..b3cf17706e8 100644 --- a/src/graph/ReturnExecutor.cpp +++ b/src/graph/ReturnExecutor.cpp @@ -20,7 +20,6 @@ Status ReturnExecutor::prepare() { } void ReturnExecutor::execute() { - FLOG_INFO("Executing Return: %s", sentence_->toString().c_str()); DCHECK(sentence_); auto *var = sentence_->var(); diff --git a/src/graph/UpdateEdgeExecutor.cpp b/src/graph/UpdateEdgeExecutor.cpp index b4d04bb68cf..20b0c6ac685 100644 --- a/src/graph/UpdateEdgeExecutor.cpp +++ b/src/graph/UpdateEdgeExecutor.cpp @@ -277,7 +277,6 @@ void UpdateEdgeExecutor::updateEdge(bool reversely) { } void UpdateEdgeExecutor::execute() { - FLOG_INFO("Executing UpdateEdge: %s", sentence_->toString().c_str()); auto status = prepareData(); if (!status.ok()) { doError(std::move(status)); diff --git a/src/graph/UpdateVertexExecutor.cpp b/src/graph/UpdateVertexExecutor.cpp index 149128ad451..ce614bec6d2 100644 --- a/src/graph/UpdateVertexExecutor.cpp +++ b/src/graph/UpdateVertexExecutor.cpp @@ -187,8 +187,6 @@ void UpdateVertexExecutor::finishExecution(storage::cpp2::UpdateResponse &&rpcRe void UpdateVertexExecutor::execute() { - FLOG_INFO("Executing UpdateVertex: %s", sentence_->toString().c_str()); - auto status = prepareData(); if (!status.ok()) { doError(std::move(status)); diff --git a/src/graph/YieldExecutor.cpp b/src/graph/YieldExecutor.cpp index 18d71018e4b..6f9c1d1eed4 100644 --- a/src/graph/YieldExecutor.cpp +++ b/src/graph/YieldExecutor.cpp @@ -138,7 +138,6 @@ Status YieldExecutor::syntaxCheck() { } void YieldExecutor::execute() { - FLOG_INFO("Executing YIELD: %s", sentence_->toString().c_str()); Status status; do { status = beforeExecute();