Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG  Not logged in ELOG logo
Entry   , posted by on Mon Oct 11 22:57:58 2004 
    Reply   , posted by on Wed Oct 13 20:48:52 2004 
       icon2.gif   Re: ELOG e-mail notifications - their arrival time is wrong, posted by G on Sun Oct 17 22:47:39 2004 
Message ID: 745     Entry time: Wed Oct 13 20:48:52 2004     In reply to: 726     Reply to this: 741
Icon:   Author:   Author Email:  
Category:   OS:   ELOG Version:  
Subject:  
> Date:  Mon, 11 Oct 2004 12:26:28 -3736512

The timezone offset (-3736512) is obtained from the "timezone" variable, which
is initialized with the tzset() function inside elogd. See "man tzset" for
details. It looks like if the timezone on your FreeBSD box is not correctly
defined. 

Try to compile and execute following C program:

#include <stdio.h>
#include <time.h>

main()
{
   tzset();
   printf("timezone: %d\n", timezone);
}

This should print something like "timezone: -3600". If not, you might consider
defining the "TZ" environment variable. Maybe some FreeBSD expert knows some
details about this.
ELOG V3.1.5-fe60aaf