diff options
author | Marcin Siodelski <marcin@isc.org> | 2018-05-30 13:32:18 +0200 |
---|---|---|
committer | Marcin Siodelski <marcin@isc.org> | 2018-05-30 13:32:18 +0200 |
commit | a3a7a9e11be14f9fa10ea6e86feada08487d219f (patch) | |
tree | fd15e9662a6574a56682e968eab2339466afa7dc /src/lib/http/connection.cc | |
parent | [5205] Improved logging in the HTTP client class. (diff) | |
download | kea-a3a7a9e11be14f9fa10ea6e86feada08487d219f.tar.xz kea-a3a7a9e11be14f9fa10ea6e86feada08487d219f.zip |
[5205] Further separate client-side from server-side msgs.
Diffstat (limited to 'src/lib/http/connection.cc')
-rw-r--r-- | src/lib/http/connection.cc | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/lib/http/connection.cc b/src/lib/http/connection.cc index d9ce80b2cd..2449a63223 100644 --- a/src/lib/http/connection.cc +++ b/src/lib/http/connection.cc @@ -216,34 +216,34 @@ HttpConnection::socketReadCallback(boost::system::error_code ec, size_t length) request_->finalize(); LOG_DEBUG(http_logger, isc::log::DBGLVL_TRACE_BASIC, - HTTP_REQUEST_RECEIVED) + HTTP_CLIENT_REQUEST_RECEIVED) .arg(getRemoteEndpointAddressAsText()); LOG_DEBUG(http_logger, isc::log::DBGLVL_TRACE_BASIC_DATA, - HTTP_REQUEST_DETAILS) + HTTP_CLIENT_REQUEST_RECEIVED_DETAILS) .arg(getRemoteEndpointAddressAsText()) .arg(parser_->getBufferAsString(MAX_LOGGED_MESSAGE_SIZE)); } catch (const std::exception& ex) { LOG_DEBUG(http_logger, isc::log::DBGLVL_TRACE_BASIC, - HTTP_BAD_REQUEST_RECEIVED) + HTTP_BAD_CLIENT_REQUEST_RECEIVED) .arg(getRemoteEndpointAddressAsText()) .arg(ex.what()); LOG_DEBUG(http_logger, isc::log::DBGLVL_TRACE_BASIC_DATA, - HTTP_BAD_REQUEST_DETAILS) + HTTP_BAD_CLIENT_REQUEST_RECEIVED_DETAILS) .arg(getRemoteEndpointAddressAsText()) .arg(parser_->getBufferAsString(MAX_LOGGED_MESSAGE_SIZE)); } HttpResponsePtr response = response_creator_->createHttpResponse(request_); LOG_DEBUG(http_logger, isc::log::DBGLVL_TRACE_BASIC, - HTTP_RESPONSE_SEND) + HTTP_SERVER_RESPONSE_SEND) .arg(response->toBriefString()) .arg(getRemoteEndpointAddressAsText()); LOG_DEBUG(http_logger, isc::log::DBGLVL_TRACE_BASIC_DATA, - HTTP_RESPONSE_DETAILS) + HTTP_SERVER_RESPONSE_SEND_DETAILS) .arg(getRemoteEndpointAddressAsText()) .arg(HttpMessageParserBase::logFormatHttpMessage(response->toString(), MAX_LOGGED_MESSAGE_SIZE)); @@ -323,7 +323,7 @@ HttpConnection::setupIdleTimer() { void HttpConnection::requestTimeoutCallback() { LOG_DEBUG(http_logger, isc::log::DBGLVL_TRACE_DETAIL, - HTTP_REQUEST_TIMEOUT_OCCURRED) + HTTP_CLIENT_REQUEST_TIMEOUT_OCCURRED) .arg(getRemoteEndpointAddressAsText()); HttpResponsePtr response = response_creator_->createStockHttpResponse(request_, |