Skip to content
This repository has been archived by the owner on Jun 5, 2024. It is now read-only.

Disable default DEBUG logs #124

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Disable default DEBUG logs #124

wants to merge 1 commit into from

Conversation

ph-l
Copy link

@ph-l ph-l commented Sep 28, 2023

The go-retryablehttp library writes debug logs by default: hashicorp/go-retryablehttp#31

Example:

2023/09/28 14:39:41 [DEBUG] HEAD https://packages.wolfi.dev/os/aarch64/APKINDEX.tar.gz
2023/09/28 14:39:41 [DEBUG] GET https://packages.wolfi.dev/os/aarch64/APKINDEX.tar.gz

The recommended way to disable that behaviour is by setting client.Logger = nil

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant