Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-1661

socket errors should show IP address

    XMLWordPrintableJSON

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: libprocess
    • Labels:

      Description

      Log messages that show socket errors (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.

      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
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                drobinson Daniel Robinson
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: