httpconnection: fix debug logging option for httpclient
authorAugie Fackler <durin42@gmail.com>
Wed, 11 May 2011 08:07:51 -0500
changeset 14294 84256ba2fbf7
parent 14293 9adbb5ef0964
child 14295 bb7e3b3e6e11
httpconnection: fix debug logging option for httpclient
mercurial/httpconnection.py
--- a/mercurial/httpconnection.py	Wed May 11 08:00:48 2011 -0500
+++ b/mercurial/httpconnection.py	Wed May 11 08:07:51 2011 -0500
@@ -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())