Merge pull request #18005 from ClickHouse/filimonov-log-verbosity-client-go-away

Decrease log verbosity of disconnecting clients
This commit is contained in:
alexey-milovidov 2020-12-12 02:25:13 +03:00 committed by GitHub
commit 8d8496a653
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -83,7 +83,7 @@ void TCPHandler::runImpl()
if (in->eof()) if (in->eof())
{ {
LOG_WARNING(log, "Client has not sent any data."); LOG_INFO(log, "Client has not sent any data.");
return; return;
} }
@ -102,7 +102,7 @@ void TCPHandler::runImpl()
if (e.code() == ErrorCodes::ATTEMPT_TO_READ_AFTER_EOF) if (e.code() == ErrorCodes::ATTEMPT_TO_READ_AFTER_EOF)
{ {
LOG_WARNING(log, "Client has gone away."); LOG_INFO(log, "Client has gone away.");
return; return;
} }