Skip to content

Commit

Permalink
demote and clarify a log warning message about mismatched advertised and
Browse files Browse the repository at this point in the history
listening ports, which is expected in deployed envs where exposed,
advertised ports are forwarded to listening, server ports
  • Loading branch information
qrkourier committed Nov 21, 2023
1 parent 89a7f20 commit d7d7a10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion router/internal/edgerouter/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{
Expand Down

0 comments on commit d7d7a10

Please sign in to comment.