Skip to content

Use testhelper.NewLogger for tests#3520

Merged
orestisfl merged 1 commit intoelastic:mainfrom
orestisfl:testhelper-logger
Aug 12, 2025
Merged

Use testhelper.NewLogger for tests#3520
orestisfl merged 1 commit intoelastic:mainfrom
orestisfl:testhelper-logger

Conversation

@orestisfl
Copy link
Contributor

Summary of your changes

Simplifies test files by removing direct invocations of the clog package. Benefits:

  1. Centralized invocation
  2. No manual naming needed
  3. Test-related logging configuration can be changed at once across all tests

Making a separate PR to help with #3514

@orestisfl orestisfl requested a review from orouz August 12, 2025 11:31
@orestisfl orestisfl self-assigned this Aug 12, 2025
@orestisfl orestisfl requested a review from a team as a code owner August 12, 2025 11:31
@orestisfl orestisfl merged commit ddef2b5 into elastic:main Aug 12, 2025
9 checks passed
@orestisfl orestisfl deleted the testhelper-logger branch August 12, 2025 12:38
@orestisfl orestisfl linked an issue Aug 12, 2025 that may be closed by this pull request
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

OTel: Connect logs to traces

2 participants