Zope 2.2 CVS checkout August 21. I'm in the BST timezone, which is GMT+1. All the entries in Z2.log are one hour behind where they should be. 127.0.0.1: - - [23/Aug/2000:15:15:39 +0100] "POST /fmr/mail_test/manage_edit HTTP/1.0" 200 10139 "http://zope.cat-box.net/fmr/mail_test/manage_main" "Mozilla/4.61 [en] (WinNT; I)" I was watching this in the log using "tail -f", and the time was 16:15 BST. I also checked the time on the machine: $ date Wed Aug 23 16:15:42 BST 2000 Something awry in the time formatting in ZServer/medusa/http_server.py Line 260: def log_date_string (self, when): return time.strftime ( '%d/%b/%Y:%H:%M:%S ', time.gmtime(when) ) + tz_for_log This looks wrong -- it is formatting the time for GMT, but adding on a spurious timezone to the end. I guess time.gmtime should become time.localtime. -- Steve Alexander Software Engineer Cat-Box limited http://www.cat-box.net
participants (1)
-
Steve Alexander