[Zope-Checkins] SVN: Zope/trunk/lib/python/ZServer/ fixes

Andreas Jung andreas at andreas-jung.com
Sun Jan 8 06:52:50 EST 2006


Log message for revision 41212:
  fixes
  

Changed:
  U   Zope/trunk/lib/python/ZServer/HTTPServer.py
  U   Zope/trunk/lib/python/ZServer/utils.py

-=-
Modified: Zope/trunk/lib/python/ZServer/HTTPServer.py
===================================================================
--- Zope/trunk/lib/python/ZServer/HTTPServer.py	2006-01-08 11:52:33 UTC (rev 41211)
+++ Zope/trunk/lib/python/ZServer/HTTPServer.py	2006-01-08 11:52:49 UTC (rev 41212)
@@ -58,7 +58,6 @@
 import DebugLogger
 from medusa import logger
 
-register_subsystem('ZServer HTTPServer')
 
 CONTENT_LENGTH  = re.compile('Content-Length: ([0-9]+)',re.I)
 CONNECTION      = re.compile('Connection: (.*)', re.I)

Modified: Zope/trunk/lib/python/ZServer/utils.py
===================================================================
--- Zope/trunk/lib/python/ZServer/utils.py	2006-01-08 11:52:33 UTC (rev 41211)
+++ Zope/trunk/lib/python/ZServer/utils.py	2006-01-08 11:52:49 UTC (rev 41212)
@@ -24,7 +24,6 @@
 
     from logging import getLogger
     LOG = getLogger('ZServer')
-    register_subsystem('ZServer')
 
     def log_info(self, message, type='info'):
         if message[:14]=='adding channel' or \
@@ -32,7 +31,7 @@
            message == 'Computing default hostname':
             LOG.debug(message)
         else:
-            getattr(LOG, severity)(message)
+            getattr(LOG, type)(message)
 
     import asyncore
     asyncore.dispatcher.log_info=log_info



More information about the Zope-Checkins mailing list