Skip to content

log: use environment to control the log level - #405

Open
ramwin wants to merge 1 commit into
django:mainfrom
ramwin:main
Open

log: use environment to control the log level#405
ramwin wants to merge 1 commit into
django:mainfrom
ramwin:main

Conversation

@ramwin

@ramwin ramwin commented Dec 21, 2024

Copy link
Copy Markdown

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

ramwin commented Jan 2, 2025

Copy link
Copy Markdown
Author

Could anyone review this PR? @bigfootjon

@bigfootjon

Copy link
Copy Markdown
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