-
-
Notifications
You must be signed in to change notification settings - Fork 103
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
too many logging when use black
formatting with vscode - it use my django-project log-file for logging
#485
Comments
I think black formatter extension is how this issue manifested. But any project using |
To be honest, I'm not entirely sure, it looks like your logging configuration is being applied to the Python process hosting the VSCode black formatter. The only reasons why I can think of are
The best solution would be to try figure and out why the formatting process is picking up your configuration but failing that, it should at least be possible to work around it. Looking at this part of your configuration
It's very generic, have you tried only listing the loggers you are interested in e.g.?
Or adding a section to specifically disable
(I don't have much experience with this style of logging configuration, so you may have to play around a bit to get the syntax right) Hope that helps! |
Heh ..., sorry guys. I found who does that - it's an extension Pylint - v2023.10.1 from Microsoft |
Hi
this one line below generate a lot of lines in my django-project
pygls/pygls/protocol/json_rpc.py
Line 387 in 0f6005c
I have a lot of lines like this
[2024-08-05 17:18:37,510] INFO 140162374721536 [pygls.protocol.json_rpc:386] Sending data: {"id": 344, "jsonrpc": "2.0", "result": []}
I think it's related to using
black
formatting with vscode1 question - why it use my django-project log-file ?
2 question - how I can disable it?
My log config
The text was updated successfully, but these errors were encountered: