demote and clarify a log warning message about mismatched advertised and

listening ports, which is expected in deployed envs where exposed,
advertised ports are forwarded to listening, server ports
This commit is contained in:
Kenneth Bingham
2023-11-21 16:26:25 -05:00
parent 89a7f203dc
commit d7d7a10906
+1 -1
View File
@@ -310,7 +310,7 @@ func parseEdgeListenerOptions(index int, address string, edgeListenerMap map[int
}
if advertisePort != addressPort {
pfxlog.Logger().Warnf("port in [listeners[%d].options.advertise] must equal port in [listeners[%d].address] for edge binding but did not. Got [%d] [%d]", index, index, advertisePort, addressPort)
pfxlog.Logger().Debugf("advertised port [%d] in [listeners[%d].options.advertise] does not match the listening port [%d] in [listeners[%d].address].", index, advertisePort, index, addressPort)
}
return &edge_ctrl_pb.Listener{