Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

log: use environment to control the log level #405

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

Conversation

ramwin
Copy link

@ramwin ramwin commented Dec 21, 2024

In my scenerio, the websocket message must be obtained the client.
I want to add the error log if the the channel is over capacity so that I can determine whether there were some performance problem.

@ramwin
Copy link
Author

ramwin commented Jan 2, 2025

Could anyone review this PR? @bigfootjon

@bigfootjon
Copy link
Collaborator

Hey there, sorry for the slow reply as I was on holiday.

Why is this necessary? Can't you use logging Handlers to route the logging event yourself and handle as needed? I'm confused why changing the log level will do anything to help you achieve your goal

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

Successfully merging this pull request may close these issues.

2 participants