Subject: Re: timestamp on DHCP log entries
To: rgf <rgfisch@excite.com>
From: David S. <davids@idiom.com>
List: netbsd-help
Date: 03/04/2004 13:19:58
On Thu, Mar 04, 2004 at 01:48:04PM -0500, rgf wrote:
> 
> 
> When I check /var/log/messages, all time stamps are in localtime (pst8pdt)
> except dhclient entries.  Entries made by dhclient are in UTC (8 hours ahead
> of local).  Does anybody know what's causing this or how to fix it?  See sample log below.

Nothing to fix; it's expected behavior.  From dhcpd.leases(5):

       Lease times are specified in Coordinated Universal Time (UTC),  not  in
       the  local time zone.  There is probably nowhere in the world where the
       times recorded on a lease are always the same as wall clock times.   On
       most  unix  machines, you can display the current time in UTC by typing
       date -u.

David S.