Kaynağa Gözat

[desktop] Stop DEBUG logging from connectionpool

Erick Tryzelaar 10 yıl önce
ebeveyn
işleme
e0f3797
1 değiştirilmiş dosya ile 6 ekleme ve 1 silme
  1. 6 1
      desktop/conf/log.conf

+ 6 - 1
desktop/conf/log.conf

@@ -26,6 +26,11 @@ level=INFO
 handlers=errorlog
 qualname=kazoo.client
 
+[logger_requests_packages_urllib3_connectionpool]
+level=INFO
+handlers=errorlog
+qualname=requests.packages.urllib3.connectionpool
+
 [handler_stderr]
 class=StreamHandler
 formatter=default
@@ -68,7 +73,7 @@ datefmt=%d/%b/%Y %H:%M:%S %z
 ########################################
 
 [loggers]
-keys=root,access,django_auth_ldap,kazoo_client
+keys=root,access,django_auth_ldap,kazoo_client,requests_packages_urllib3_connectionpool
 
 [handlers]
 keys=stderr,logfile,accesslog,errorlog