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
Show file tree
Hide file tree
Changes from 1 commit
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
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