"Friesen, Christopher [CAR:3R60:EXCH]" wrote:
>
> How does the kernel figure out how to timestamp the log output? The reason I'm
> asking is that we have a system that has /etc/localtime pointing to the
> Americas/Montreal timezone, but the log output from the kernel appears to be
> UTC.
Well, it turns out that klogd was the culprit. We were booting a ramdisk,
setting the time, starting syslog, and then setting the timezone from an
NFS-mounted file. klogd checks the timezone on startup only, so changing the
timezone did not affect the output of klogd. Guess we'll have to restart syslog
after setting the timezone.
Thanks to those who responded.
Chris
-- Chris Friesen | MailStop: 043/33/F10 Nortel Networks | work: (613) 765-0557 3500 Carling Avenue | fax: (613) 765-2986 Nepean, ON K2H 8E9 Canada | email: cfriesen@nortelnetworks.com - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Mon Jan 07 2002 - 21:00:26 EST