Date: Mon, 22 Jul 1996 14:09:29 +0000 () From: Cliff Addy <fbsdlist@revelstone.jvm.com> To: freebsd-questions@freebsd.org Subject: Log times in GMT, not local Message-ID: <Pine.BSF.3.91.960722135110.5475A-100000@revelstone.jvm.com>
next in thread | raw e-mail | index | archive | help
We've recently had to do a complete re-install of 2.1R because of a hard drive crash. However, since the system has come back up, many log files like the web server logs and mail logs have the date/time stamp in GMT rather than local time. What makes it truly weird is that occasionally (once a day, for several hours) the log times are correct. For example, here's an edited excerpt from the web server log: cs1-3.protocom.com - - [22/Jul/1996:13:01:42 +0000] "GET ... cs1-3.protocom.com - - [22/Jul/1996:13:01:44 +0000] "GET ... 194.72.197.155 - - [22/Jul/1996:09:08:51 -0400] "GET ... 198.187.18.72 - - [22/Jul/1996:09:11:48 -0400] "GET ... 198.187.18.72 - - [22/Jul/1996:09:11:49 -0400] "GET ... As you can see, it suddenly flops from +0000 (GMT) to -0400 (EDT). A reboot consistently sets it to GMT. However, the maillogs at the same time were consistently in local time. Sometimes they flop with the server logs, sometimes not. I've tried tzset, with no effect. I can find no consistent event that occurs at the flipflop point. I've also written some C programs and the timezone information coming from functions like locatime() looks ok, i.e. a "seconds west of GMT" value of 14400. I'm stuck here. Any other things to try? Cliff
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.960722135110.5475A-100000>
