This is an automated email from the ASF dual-hosted git repository.

bmahler pushed a commit to branch 1.7.x
in repository https://gitbox.apache.org/repos/asf/mesos.git

commit b48a5d02db57670da9a16d1941ac935f8e2e471e
Author: Benjamin Mahler <[email protected]>
AuthorDate: Mon Oct 21 19:57:54 2019 -0400

    Logged failed TLS reverse DNS lookups as warnings for 'legacy' scheme.
    
    These were getting logged at VLOG(2), whereas we want all networking
    related errors to be logged as warnings (or errors if appropriate).
    
    Review: https://reviews.apache.org/r/71643
---
 3rdparty/libprocess/src/posix/libevent/libevent_ssl_socket.cpp | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/3rdparty/libprocess/src/posix/libevent/libevent_ssl_socket.cpp 
b/3rdparty/libprocess/src/posix/libevent/libevent_ssl_socket.cpp
index 8501ec6..4e85de0 100644
--- a/3rdparty/libprocess/src/posix/libevent/libevent_ssl_socket.cpp
+++ b/3rdparty/libprocess/src/posix/libevent/libevent_ssl_socket.cpp
@@ -1169,8 +1169,9 @@ void 
LibeventSSLSocketImpl::accept_SSL_callback(AcceptRequest* request)
             }
 
             if (hostname.isError()) {
-              VLOG(2) << "Could not determine hostname of peer: "
-                      << hostname.error();
+              LOG(WARNING) << "Reverse DNS lookup for"
+                           << " '" << request->ip.get() << "'"
+                           << " failed: " << hostname.error();
             } else {
               VLOG(2) << "Accepting from " << hostname.get();
               peer_hostname = hostname.get();

Reply via email to