On Saturday 28 February 2009 16:50:11 Jon Radel wrote: > Monty Pyth wrote: > > Does anyone know what file Apache checks to get the time zone offset for > > httpd-access.log? > > > > 65.223.44.56 - frank [10/Oct/2000:13:55:36 -0500] "GET /apache_pb.gif > > HTTP/1.0" 200 2326 "http://www.example.com/start.html" "Mozilla/4.08 [en] > > (Win98; I ;Nav)" > > > > Where does Apache get the -0500 from? I know many people say the system > > clock, but what file is it checking for that? > > Why must it be getting it from a file? See, for example, > > man 2 gettimeofday > > which is a call in the standard C library that returns the time in GMT > *and* the time zone the system clock is set to.
It's still a file....../etc/localtime. Yes, gettimeofday gets it from there, really. See the Note: timezone is no longer used; this information is kept outside the kernel. Also see, tzsetup(8), specifically the FILES and BUGS section. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"