Skip to content

Commit

Permalink
Merge pull request #1393 from imjasonh/quiet
Browse files Browse the repository at this point in the history
pkg/apk: don't log requests
  • Loading branch information
luhring authored Jan 8, 2025
2 parents b66c81c + d35ca1b commit b68e98d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/apk/apk.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ type Context struct {

func New(client *http.Client, indexURL string) Context {
rc := retryablehttp.NewClient()
rc.Logger = log.New(io.Discard, "", 0) // Don't log requests at all.
rc.HTTPClient = client
return Context{
client: rc.StandardClient(),
Expand Down

0 comments on commit b68e98d

Please sign in to comment.