Uploaded image for project: 'ZooKeeper'
  1. ZooKeeper
  2. ZOOKEEPER-3068

Improve C client logging of IPv6 hosts

    XMLWordPrintableJSON

Details

    Description

      The C client formats host-port pairings as [host:port] when logging. This is visually confusing when the host is an IPv6 address (see the below). In that case, it would be preferable to cleanly separate the IPv6 from the port.

      ZOO_INFO@check_events@2736: initiated connection to server [2401:db00:1020:40bf:face:0:5:0:2181]

      Attachments

        Issue Links

          Activity

            People

              enixon Brian Nixon
              enixon Brian Nixon
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 50m
                  1h 50m