David Robinson created MESOS-1661:
-------------------------------------
Summary: socket errors should show IP address
Key: MESOS-1661
URL: https://issues.apache.org/jira/browse/MESOS-1661
Project: Mesos
Issue Type: Task
Components: libprocess
Reporter: David Robinson
Priority: Minor
[Log messages that show socket
errors|https://github.com/apache/mesos/blob/master/3rdparty/libprocess/src/process.cpp#L1035]
(Connection refused, Broken pipe etc) should also show the remote IP address.
It's difficult to troubleshoot why a connection is being refused when you don't
know where it's trying to connect.
{noformat:title=sample log snippet}
I0801 23:15:57.315096 20305 log.cpp:656] Attempting to start the writer
I0801 23:15:57.315913 20313 replica.cpp:474] Replica received implicit promise
request with proposal 865
I0801 23:15:57.316473 20326 process.cpp:1096] Socket error while receiving:
Connection refused
I0801 23:15:57.316499 20326 process.cpp:1140] Socket error while sending:
Broken pipe
{noformat}
--
This message was sent by Atlassian JIRA
(v6.2#6252)