From: Pieter Lexis Date: Thu, 14 Feb 2019 10:43:14 +0000 (+0100) Subject: Webserver: remove hooked brackets from log line X-Git-Tag: dnsdist-1.4.0-alpha1~39^2~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f024c7bce3b0ed3b2d587ea053c8c4d3e656c9c9;p=thirdparty%2Fpdns.git Webserver: remove hooked brackets from log line --- diff --git a/pdns/webserver.cc b/pdns/webserver.cc index 3028c8d984..91a35fcbf8 100644 --- a/pdns/webserver.cc +++ b/pdns/webserver.cc @@ -340,7 +340,7 @@ void WebServer::logResponse(const HttpResponse& resp, const ComboAddress& remote } void WebServer::serveConnection(std::shared_ptr client) const { - const string logprefix = d_logprefix + "<" + to_string(getUniqueID()) + "> "; + const string logprefix = d_logprefix + to_string(getUniqueID()) + " "; HttpRequest req(logprefix); HttpResponse resp; diff --git a/pdns/ws-recursor.cc b/pdns/ws-recursor.cc index c038250250..af7bf5c791 100644 --- a/pdns/ws-recursor.cc +++ b/pdns/ws-recursor.cc @@ -623,7 +623,7 @@ void AsyncServer::newConnection() // This is an entry point from FDM, so it needs to catch everything. void AsyncWebServer::serveConnection(std::shared_ptr client) const { - const string logprefix = d_logprefix + "<" + to_string(getUniqueID()) + "> "; + const string logprefix = d_logprefix + to_string(getUniqueID()) + " "; HttpRequest req(logprefix); HttpResponse resp;