[Zope-Checkins] CVS: Zope/ZServer - DebugLogger.py:1.4
Andreas Jung
andreas@zope.com
Tue, 18 Sep 2001 11:29:00 -0400
Update of /cvs-repository/Zope/ZServer
In directory cvs.zope.org:/tmp/cvs-serv17262
Modified Files:
DebugLogger.py
Log Message:
switched from gmtime() to localtime() to keep Z2.log and debug logs in sync
=== Zope/ZServer/DebugLogger.py 1.3 => 1.4 ===
self._acquire()
try:
- t=time.strftime('%Y-%m-%dT%H:%M:%S', time.gmtime(time.time()))
+ t=time.strftime('%Y-%m-%dT%H:%M:%S', time.localtime(time.time()))
self.file.write(
'%s %s %s %s\n' % (code, request_id, t, data)
)