On Tuesday, April 13, 1999 10:22 AM, Mike Jagdis [SMTP:[EMAIL PROTECTED]]
wrote:
> On Thu, 8 Apr 1999, Brian Boutel wrote:
>
> > Diald, unlike every other program I use that writes to syslog, has its times
>recorded as UTC,
> > not local time.
>
> This is not a diald problem. Diald always uses localtime(), never
> gmtime(). Contact your vendor.
>
> Mike
>
I'm still using Diald 0.16 (patch 5), and this version does not use localtime
explicitly,
it just calls syslog and lets the glibc code do the rest. While I haven't fully
analysed
what's happening, I have fixed the problem by having diald call tzset as soon as it
starts up (just before calling openlog). Chat does this. The same trick works with
ntpdate, which, I noticed, also logged UTC times.
--brian
-
To unsubscribe from this list: send the line "unsubscribe linux-diald" in
the body of a message to [EMAIL PROTECTED]