Skip to content

Conversation

mhofstetter
Copy link
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
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
Member Author

rebased to main to pickup ci-ginkgo fix

@mhofstetter
Copy link
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
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
None yet
Development

Successfully merging this pull request may close these issues.

2 participants