Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modify graphd log level #1945

Merged
merged 4 commits into from
Mar 27, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/graph/ExecutionPlan.cpp
Original file line number Diff line number Diff line change
@@ -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 {
1 change: 0 additions & 1 deletion src/graph/FetchEdgesExecutor.cpp
Original file line number Diff line number Diff line change
@@ -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));
1 change: 0 additions & 1 deletion src/graph/FetchVerticesExecutor.cpp
Original file line number Diff line number Diff line change
@@ -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));
1 change: 0 additions & 1 deletion src/graph/GoExecutor.cpp
Original file line number Diff line number Diff line change
@@ -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));
2 changes: 0 additions & 2 deletions src/graph/GroupByExecutor.cpp
Original file line number Diff line number Diff line change
@@ -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;
1 change: 0 additions & 1 deletion src/graph/LimitExecutor.cpp
Original file line number Diff line number Diff line change
@@ -31,7 +31,6 @@ Status LimitExecutor::prepare() {


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

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