Skip to content

xds: optimize log message of waiting for proxy update#41190

Merged
sayboras merged 1 commit intocilium:mainfrom
mhofstetter:pr/mhofstetter/optimize-xds-log
Aug 22, 2025
Merged

xds: optimize log message of waiting for proxy update#41190
sayboras merged 1 commit intocilium:mainfrom
mhofstetter:pr/mhofstetter/optimize-xds-log

Conversation

@mhofstetter
Copy link
Copy Markdown
Member

Currently, the log message that indcates the end of waiting for proxy updates always contains the log field error, even if there wasn't any error.

[...] msg="UpdateEnvoyResources: Finished waiting for proxy updates" error=<nil>

This commit optimzes this by adding the error log field conditionally.

@mhofstetter mhofstetter added the kind/cleanup This includes no functional changes. label Aug 15, 2025
@mhofstetter mhofstetter requested a review from a team as a code owner August 15, 2025 14:28
@mhofstetter mhofstetter added area/proxy Impacts proxy components, including DNS, Kafka, Envoy and/or XDS servers. release-note/misc This PR makes changes that have no direct user impact. labels Aug 15, 2025
@mhofstetter mhofstetter requested a review from sayboras August 15, 2025 14:28
@mhofstetter mhofstetter added the area/servicemesh GH issues or PRs regarding servicemesh label Aug 15, 2025
@mhofstetter
Copy link
Copy Markdown
Member Author

/test

Currently, the log message that indcates the end of waiting
for proxy updates always contains the log field `error`, even if there
wasn't any error.

```
[...] msg="UpdateEnvoyResources: Finished waiting for proxy updates" error=<nil>
```

This commit optimzes this by adding the error log field conditionally.

Signed-off-by: Marco Hofstetter <marco.hofstetter@isovalent.com>
@mhofstetter mhofstetter force-pushed the pr/mhofstetter/optimize-xds-log branch from b2eb9ba to 14b7b91 Compare August 18, 2025 13:45
@mhofstetter
Copy link
Copy Markdown
Member Author

rebased to main to pickup ci-ginkgo fix

@mhofstetter
Copy link
Copy Markdown
Member Author

/test

@maintainer-s-little-helper maintainer-s-little-helper bot added the ready-to-merge This PR has passed all tests and received consensus from code owners to merge. label Aug 22, 2025
@sayboras sayboras added this pull request to the merge queue Aug 22, 2025
Merged via the queue into cilium:main with commit 53bca40 Aug 22, 2025
68 checks passed
@mhofstetter mhofstetter deleted the pr/mhofstetter/optimize-xds-log branch September 1, 2025 07:21
@cilium-release-bot cilium-release-bot bot moved this to Released in cilium v1.19.0 Feb 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/proxy Impacts proxy components, including DNS, Kafka, Envoy and/or XDS servers. area/servicemesh GH issues or PRs regarding servicemesh kind/cleanup This includes no functional changes. ready-to-merge This PR has passed all tests and received consensus from code owners to merge. release-note/misc This PR makes changes that have no direct user impact.

Projects

No open projects
Status: Released

Development

Successfully merging this pull request may close these issues.

3 participants