logging gmtime or localtime

Alan McNatty <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <1021343761.31195.19.camel@euclid>
Hello,

My Kannel logs have everything in gmtime not localtime which is
confusing things a bit (I've only noticed this recently). 

I noticed in the code that (what I think) sets the log time via gmtime
or localtime call is the conditional chunk below from log.c in /gwlib.
Only thing is I can't find any other reference to
LOG_TIMESTAMP_LOCALTIME. 

Can anyone shed some light on how this is suppose to work (is something
breaking or not being set in configure stage?). 

Cheers,
Alan

-- gwlib/log.c: format() lines 186-190  --

#if LOG_TIMESTAMP_LOCALTIME
    tm = gw_localtime(t);
#else
    tm = gw_gmtime(t);
#endif



-- 
Alan McNatty -- Catalyst IT Ltd -- http://www.catalyst.net.nz
  Level 2, 150-154 Willis St, PO Box 11-053, Wellington, NZ
Mob: +64 21-312136, DDI: +64 4 9167203, Office: +64 4 4992267

... error accessing whit
Segmentation fault (core dumped)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.