mirror of https://github.com/Icinga/icinga2.git
HttpServerConnection: remove duplicate ")" from a log message
The commit 5c32a5a7dc
, which introduced it, clearly shows that the other ")" already existed legitimately.
This commit is contained in:
parent
2c9117b4f7
commit
6a4cb5c12c
|
@ -543,7 +543,7 @@ void HttpServerConnection::ProcessMessages(boost::asio::yield_context yc)
|
|||
|
||||
logMsg << "Request: " << request.method_string() << ' ' << request.target()
|
||||
<< " (from " << m_PeerAddress
|
||||
<< "), user: " << (authenticatedUser ? authenticatedUser->GetName() : "<unauthenticated>")
|
||||
<< ", user: " << (authenticatedUser ? authenticatedUser->GetName() : "<unauthenticated>")
|
||||
<< ", agent: " << request[http::field::user_agent]; //operator[] - Returns the value for a field, or "" if it does not exist.
|
||||
|
||||
Defer addRespCode ([&response, &logMsg]() {
|
||||
|
|
Loading…
Reference in New Issue