redis-py icon indicating copy to clipboard operation
redis-py copied to clipboard

How to silence redis log

Open wiryonolau opened this issue 6 months ago • 3 comments

Version:
5.0.1

Platform: Debian 11 Python 3.10

Description: Hi I need to read my application debug log, but it was clutter by redis log. How do I disable this ? also the log is using different format than the one we use. How to disable or change the format or perhaps the log level

I see that _set_info_logger only be set when push_handler_func is None, but I don't want to touch push_handler_func at the moment ,.

wiryonolau avatar Dec 18 '23 05:12 wiryonolau

Hi @wiryonolau, what kind of messages you see in your log? we are not using it so much... also, do you have a lot of pubsub messages?

dvora-h avatar Jan 14 '24 02:01 dvora-h

I'm actually having the opposite issue here. I want to enable more verbosity from the library to debug, but I can't seem to enable logging

rushilsrivastava avatar Mar 04 '24 18:03 rushilsrivastava

I also have this problem: every LINDEX or CONFIG GET seems to be logged at INFO level.

garncarz avatar Mar 13 '24 17:03 garncarz