Skip to content

Conversation

@chaptersix
Copy link
Contributor

@chaptersix chaptersix commented Sep 19, 2025

What changed?

Added functionality to override the dynamic config client log level to INFO for all services in the functional tests.

Why?

The dynamic config client introduced in #7052 logs "No such key in dynamic config, using default" at DEBUG level every time a dynamic config key is checked without an override. This creates extremely noisy logs during testing as it fires for many dynamic config checks, making it difficult to see relevant test output and debug information.

This approach:

  • Only affects the dynamic config client logging, not the main service logs
  • Only applicable to tests not production code

How did you test it?

  • built
  • run locally and tested manually
  • covered by existing tests
  • added new unit test(s)
  • added new functional test(s)

@chaptersix chaptersix changed the title override dynamic config log level to info Reduce dynamic config client log level to INFO to address noisy debug logging Sep 19, 2025
@chaptersix chaptersix marked this pull request as ready for review September 19, 2025 18:32
@chaptersix chaptersix requested a review from a team as a code owner September 19, 2025 18:32
Copy link
Contributor

@stephanos stephanos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome!

@chaptersix chaptersix enabled auto-merge (squash) September 19, 2025 19:08
@chaptersix chaptersix merged commit 8c13ed7 into main Sep 19, 2025
58 checks passed
@chaptersix chaptersix deleted the alex/dc_info branch September 19, 2025 19:32
@dnr dnr mentioned this pull request Oct 7, 2025
3 tasks
dnr added a commit that referenced this pull request Oct 7, 2025
## What changed?
Remove logging when default dynamic config values are used.
Also revert #8354 which was just to avoid these logs in tests.

## Why?
These logs are not really useful, we expect almost all keys to usually
be unset.

## How did you test it?
- [x] built
- [x] run locally and tested manually
- [x] covered by existing tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants