Open nschagen opened 12 months ago
Hello,
Small question: I noticed that the lock acquired log message is logged as info while the rest is logged as debug.
https://github.com/ionelmc/python-redis-lock/blob/master/src/redis_lock/__init__.py#L236
Is that intentional? I do see a lot of lock acquisitions in my log and would like to filter them out. What kind of way would you suggest to suppress them?
Thank you
Probably something like this in your logging config? Assuming you use some dict config style:
"loggers": { "redis_lock.acquire": { "level": "WARNING", }, }
Hello,
Small question: I noticed that the lock acquired log message is logged as info while the rest is logged as debug.
https://github.com/ionelmc/python-redis-lock/blob/master/src/redis_lock/__init__.py#L236
Is that intentional? I do see a lot of lock acquisitions in my log and would like to filter them out. What kind of way would you suggest to suppress them?
Thank you