Merge pull request #66531 from hanfei1991/hanfei/fix_keeper_tcp_log

fix log in keeper tcp handler
This commit is contained in:
Han Fei 2024-07-17 21:04:24 +00:00 committed by GitHub
commit 2b7ad9c54c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -622,8 +622,9 @@ void KeeperTCPHandler::updateStats(Coordination::ZooKeeperResponsePtr & response
{
LOG_INFO(
log,
"Total time to process a request took too long ({}ms).\nRequest info: {}",
elapsed,
"Total time to process a request in session {} took too long ({}ms).\nRequest info: {}",
session_id,
elapsed_ms,
request->toString(/*short_format=*/true));
}