Skip to content

httpclient: Reuse existing configured logger#240

Merged
radeksimko merged 1 commit intomainfrom
b-reuse-logger
Sep 4, 2024
Merged

httpclient: Reuse existing configured logger#240
radeksimko merged 1 commit intomainfrom
b-reuse-logger

Conversation

@radeksimko
Copy link
Copy Markdown
Member

Fixes #239

@radeksimko radeksimko added the bug Something isn't working label Aug 23, 2024
@radeksimko radeksimko requested a review from a team as a code owner August 23, 2024 10:28
@kmoe
Copy link
Copy Markdown
Member

kmoe commented Aug 23, 2024

Can we add a regression test for the #239 behaviour?

Copy link
Copy Markdown
Member

@kmoe kmoe left a comment

Choose a reason for hiding this comment

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

Happy to merge with tests added or those can come in a later PR so as not to block release.

@xiehan
Copy link
Copy Markdown
Member

xiehan commented Aug 23, 2024

If we could hold off on doing a release until hashicorp/hc-passport-groups#1674 (hopefully) gets merged and I set up the same for hc-install, that would be great! That way we can kill two birds with one stone: both getting this release out, and verifying that managing the CRT approvers through Passport allows somebody other than Radek and Katy to do a release, as right now that group only includes the two of you.

@radeksimko
Copy link
Copy Markdown
Member Author

I'm not sure how to test this with the current setup in the context of a library.

We could be testing any STDOUT/STDERR output but that falls mostly under #65 so I'll merge this PR without a test and we can follow up there. - that is once https://github.com/hashicorp/hc-passport-groups/pull/1674 is merged.

@radeksimko radeksimko merged commit 8d6f663 into main Sep 4, 2024
@radeksimko radeksimko deleted the b-reuse-logger branch September 4, 2024 07:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

HTTP logs are leaking to stderr from v0.8.0 onwards

4 participants