Skip to content

Commit

Permalink
fqdn: Change error log to warning
Browse files Browse the repository at this point in the history
There is no reason why the log level of "Timed out waiting for datapath
updates of FQDN IP information" log message should be an error. Change it
to a warning instead.

Add a reference to --tofqdns-proxy-response-max-delay parameter to make
this warning actionable.

Signed-off-by: Jarno Rajahalme <jarno@isovalent.com>
  • Loading branch information
jrajahalme authored and sayboras committed May 3, 2024
1 parent b3db555 commit f1925b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion daemon/cmd/fqdn.go
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,7 @@ func (d *Daemon) notifyOnDNSMsg(lookupTime time.Time, ep *endpoint.Endpoint, epI

select {
case <-updateCtx.Done():
log.Error("Timed out waiting for datapath updates of FQDN IP information; returning response")
log.Warning("Timed out waiting for datapath updates of FQDN IP information; returning response. Consider increasing --tofqdns-proxy-response-max-delay if this keeps happening.")
metrics.ProxyDatapathUpdateTimeout.Inc()
case <-updateComplete:
}
Expand Down

0 comments on commit f1925b5

Please sign in to comment.