[Zope-Checkins] CVS: Zope/ZServer/medusa - logger.py:1.14

Andreas Jung andreas@digicool.com
Tue, 28 May 2002 08:46:11 -0400


Update of /cvs-repository/Zope/ZServer/medusa
In directory cvs.zope.org:/tmp/cvs-serv19980

Modified Files:
	logger.py 
Log Message:
Collector #405 added space to improve logging output


=== Zope/ZServer/medusa/logger.py 1.13 => 1.14 ===
         
     def log (self, message):
+        print 'msg',message
+
         if message[-1] not in ('\r', '\n'):
             self.write (message + '\n')
         else:
@@ -244,7 +246,7 @@
         self.logger = logger
         
     def log (self, ip, message):
-        self.logger.log ('%s%s' % (ip, message))
+        self.logger.log ('%s %s' % (ip, message))
         
         
 def strip_eol (line):