Skip to content

Commit

Permalink
Fix too many logs print when listing sessions (#5618)
Browse files Browse the repository at this point in the history
  • Loading branch information
songqing authored and Sophie-Xie committed Jul 20, 2023
1 parent 3f953cd commit d63d884
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/meta/processors/session/SessionManagerProcessor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -133,10 +133,8 @@ void ListSessionsProcessor::process(const cpp2::ListSessionsReq&) {
sessions.emplace_back(std::move(session));
iter->next();
}
LOG(INFO) << "resp session size: " << sessions.size();
resp_.sessions_ref() = std::move(sessions);
for (auto& session : resp_.get_sessions()) {
LOG(INFO) << "resp list session: " << session.get_session_id();
}
handleErrorCode(nebula::cpp2::ErrorCode::SUCCEEDED);
onFinished();
}
Expand Down

0 comments on commit d63d884

Please sign in to comment.