Grokzen / redis-py-cluster

Python cluster client for the official redis cluster. Redis 3.0+.
https://redis-py-cluster.readthedocs.io/
MIT License
1.1k stars 316 forks source link

Reduce log level of ClusterConnection creation #412

Closed TylerLubeck closed 3 years ago

TylerLubeck commented 3 years ago

Hi! Thanks for setting up all the logging, it's been very helpful.

Would you be up for reducing the log level here? We've found that it's spewing a ton of logs for us. For the time being we've just reduced our output via logging.getLogger("rediscluster.connection").setLevel(logging.WARN) but we'd like to keep some of the other info-level logs around.

Grokzen commented 3 years ago

Nice cath @TylerLubeck. It will come long with 2.1.1 once the other open PR:s is merged so i can make a new release.