fix ipv6/port representation in the log message