-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Make logging verbosity configurable per package for verbose packages. #10203
Comments
Would be great to get an option for this in Rasa X as well |
I've been working on this ticket. There are a few problems that I can see:
Note we had already worked on a similar problem with #6900 I'm planning on adding specific log levels for 3 of the libraries (rabbitmq, matplotlib and kafka). I'm renaming pika to rabbitmq since it is really about connecting to RabbitMQ and also because the loggers to disable are aio_pika and aiormq. |
Just noticed in addition to undocumented LOG_LEVEL_LIBRARIES we also have the ability to set I wonder what is the best policy here? Options are:
|
* Make library level logging to be configurable Fixes #10203 * Create log level documentation under cheatsheet in Rasa docs * Add log docs to `rasa shell --debug` (and others)
What problem are you trying to solve?
Logs from pika (rabbitmq) and kafka libraries can be very verbose, cluttering debug logs.
Usually turning on
--debug
mode is done to debug model prediction.What's your suggested solution?
Make logging configurable for the more verbose libraries separately from overall log level.
These could be env vars e.g.
PIKA_DEBUG_LEVEL
,KAFKA_DEBUG_LEVEL
.Some investigation required to see which other libraries are most verbose; these are the most obvious ones.
Examples (if relevant)
No response
Is anything blocking this from being implemented? (if relevant)
None known
Definition of Done
The text was updated successfully, but these errors were encountered: