Improve log messages.

This commit is contained in:
levlam 2022-06-06 17:13:56 +03:00
parent a5f161849b
commit 470563c289
1 changed files with 3 additions and 3 deletions

View File

@ -575,10 +575,10 @@ void Session::on_closed(Status status) {
raw_connection->close();
if (status.is_error()) {
LOG(WARNING) << "Session with " << sent_queries_.size() << " pending requests was closed: " << status << " "
<< current_info_->connection_->get_name();
LOG(WARNING) << "Session connection with " << sent_queries_.size() << " pending requests was closed: " << status
<< ' ' << current_info_->connection_->get_name();
} else {
LOG(INFO) << "Session with " << sent_queries_.size() << " pending requests was closed: " << status << " "
LOG(INFO) << "Session connection with " << sent_queries_.size() << " pending requests was closed: " << status << ' '
<< current_info_->connection_->get_name();
}