Skip to content

Commit

Permalink
modify log level (#1945)
Browse files Browse the repository at this point in the history
Co-authored-by: dangleptr <37216992+dangleptr@users.noreply.github.com>
Co-authored-by: dutor <440396+dutor@users.noreply.github.com>
  • Loading branch information
3 people authored Mar 27, 2020
1 parent f81ec23 commit cd6e965
Show file tree
Hide file tree
Showing 12 changed files with 1 addition and 14 deletions.
2 changes: 1 addition & 1 deletion src/graph/ExecutionPlan.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
1 change: 0 additions & 1 deletion src/graph/FetchEdgesExecutor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down
1 change: 0 additions & 1 deletion src/graph/FetchVerticesExecutor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down
1 change: 0 additions & 1 deletion src/graph/GoExecutor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down
2 changes: 0 additions & 2 deletions src/graph/GroupByExecutor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
1 change: 0 additions & 1 deletion src/graph/LimitExecutor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ Status LimitExecutor::prepare() {


void LimitExecutor::execute() {
FLOG_INFO("Executing Limit: %s", sentence_->toString().c_str());
if (inputs_ == nullptr) {
onEmptyInputs();
return;
Expand Down
1 change: 0 additions & 1 deletion src/graph/LookupExecutor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down
1 change: 0 additions & 1 deletion src/graph/OrderByExecutor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
1 change: 0 additions & 1 deletion src/graph/ReturnExecutor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
1 change: 0 additions & 1 deletion src/graph/UpdateEdgeExecutor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down
2 changes: 0 additions & 2 deletions src/graph/UpdateVertexExecutor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down
1 change: 0 additions & 1 deletion src/graph/YieldExecutor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,6 @@ Status YieldExecutor::syntaxCheck() {
}

void YieldExecutor::execute() {
FLOG_INFO("Executing YIELD: %s", sentence_->toString().c_str());
Status status;
do {
status = beforeExecute();
Expand Down

0 comments on commit cd6e965

Please sign in to comment.