[rt-users] Time in logs not matching system time
Roderick A. Anderson
raanders at cyber-office.net
Fri Sep 25 19:28:31 EDT 2009
Kimberly McKinnis wrote:
> Isn't Chicago GMT -5? RT will always log in UTC no matter what you
> do, but setting the timezone effects the user interface.
Interesting. I have TimeZone in RT_SiteConfig.pm set to 'US/Pacific'
and get the local time in the log files. I am also using syslog which
may explain the date/time beig correct. (CentOS 5 in a Linux-Vserver guest)
\\||
Rod
--
>
> -----Original Message----- From:
> rt-users-bounces at lists.bestpractical.com
> [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of Susan
> McClure Sent: Friday, September 25, 2009 9:29 AM To:
> rt-users at lists.bestpractical.com Subject: Re: [rt-users] Time in logs
> not matching system time
>
> I have basically the same problem with the log 5 hours ahead. (I am
> CDT) I have a RHE Linux 5 system. I have tried both of these in the
> RT_SiteConfig.pm without any change:
>
> Set($Timezone, 'US/Central'); and Set($Timezone , 'America/Chicago');
>
>
> Interestingly, when httpd first starts up the log has the correct
> time, but as soon as it uses RT, the timestamp changes ahead 5 hours.
> The name change occurs right after the last Apache 2.2.3 info notice
> about when the server was built.
>
> Susie
>
> ------- All,
>
> I am seeing a time in the rt log file that is 4 hours in advance of
> the system time (system time is EDT).
>
>
> IE
>
> root at MyHelpDesk:/opt/rt3/var/log# date Fri Sep 25 11:38:41 EDT 2009
> root at MyHelpDesk:/opt/rt3/var/log# tail -f rt.log
>
> [Fri Sep 25 15:39:58 2009] [info]:
> RT::Authen::ExternalAuth::LDAP::GetAuth External Auth OK (
> HSCIDM_LDAP ): slander
> (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:139)
> [Fri Sep 25 15:39:58 2009] [warning]: disable
> (/opt/rt3/bin/../lib/RT/User_Overlay.pm:1142)
>
> So, the system time is 11:38, while the log time is 15:38 (ok,
> 15:39...)
>
>
> My Rt_SiteConfig.pm has Set($Timezone , 'US/Eastern');
>
> Any one have any idea how to sync these up?
>
> Thanks
>
>
>
> _______________________________________________ RT-Users mailing list
> RT-Users at lists.bestpractical.com
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>
>
> End of RT-Users Digest, Vol 66, Issue 88
> ****************************************
>
> !DSPAM:8,4abce92498521108712277!
>
>
>
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>
> Community help: http://wiki.bestpractical.com Commercial support:
> sales at bestpractical.com
>
>
> Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
> Buy a copy at http://rtbook.bestpractical.com
More information about the rt-users
mailing list