[PATCH] httpconnection: fix debug logging option for httpclient
Augie Fackler
durin42 at gmail.com
Wed May 11 08:08:05 CDT 2011
# HG changeset patch
# User Augie Fackler <durin42 at gmail.com>
# Date 1305119271 18000
# Node ID 0a291079e7222f8eeb3f7a05a7b5b7a3c7098829
# Parent b2d9568cc3292668bfad9bde1119bfa638059e36
httpconnection: fix debug logging option for httpclient
diff --git a/mercurial/httpconnection.py b/mercurial/httpconnection.py
--- a/mercurial/httpconnection.py
+++ b/mercurial/httpconnection.py
@@ -120,7 +120,7 @@
loglevel = ui.config('ui', 'http2debuglevel', default=None)
if loglevel and not _configuredlogging:
_configuredlogging = True
- logger = logging.getLogger('mercurial.http')
+ logger = logging.getLogger('mercurial.httpclient')
logger.setLevel(getattr(logging, loglevel.upper()))
logger.addHandler(logging.StreamHandler())
More information about the Mercurial-devel
mailing list