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

Implement way to handle log messages #30

Open
thetillhoff opened this issue May 29, 2022 · 1 comment
Open

Implement way to handle log messages #30

thetillhoff opened this issue May 29, 2022 · 1 comment

Comments

@thetillhoff
Copy link

In the current state, the client will print cached-item already expired failed to retrieve from cache, trying with a live version whenever a cache miss happens.
And there doesn't seems to be a way to disable/handle those log messages.
Or, if there is one, it's not documented.

Whenever a cache makes sense in a go project, there tend to be quite a lot of requests as well. In order to not clog the logs, it would be a very useful feature to be able to adjust what is printed and when - or just disable the messages completely as a first step.

@bxcodec
Copy link
Owner

bxcodec commented Dec 27, 2022

Thanks for the issue, will fix this. I'm swamped at the moment. Hopefully I can work on this before 2023

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

No branches or pull requests

2 participants