[rt-users] RT344 -->RT log file shows different time
Raj K Gurung
rgurung at cait.org
Fri Apr 20 16:22:42 EDT 2007
Thanks Mike.
It worked.
Raj
On Thu, 2007-04-19 at 20:35 -0700, Mike Friedman wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Thu, 19 Apr 2007 at 14:47 (-0500), Raj K Gurung wrote:
>
> > I have a problem with Time that shows in my RT log file. The time in RT
> > log file seems 5 hours faster than the system clock. Also, I checked my
> > RT_SiteConfig.pm file and configured with Set($Timezone,'US/Central')
> > (to make sure it is not creating the problem)
> >
> > Still, I am having the same problem. Any body with similar problem or
> > answers....
>
> Yes, the timezone used for logging is hardcoded as UTC in lib/RT.pm. I
> put in a local fix that just changed 'gmtime(time)' to 'localtime(time)'.
> The code in RT.pm changed between 3.4.4 and 3.6.3, so that in the former
> there are two such references to be changed and in the latter only one.
>
> The $Timezone variable, I believe, just affects the web interface.
>
> Mike
>
> _________________________________________________________________________
> Mike Friedman Information Services & Technology
> mikef at ack.Berkeley.EDU 2484 Shattuck Avenue
> 1-510-642-1410 University of California at Berkeley
> http://socrates.berkeley.edu/~mikef http://ist.berkeley.edu
> _________________________________________________________________________
>
> -----BEGIN PGP SIGNATURE-----
> Version: PGP 6.5.8
>
> iQA/AwUBRig1IK0bf1iNr4mCEQI6JgCfQYIRvrpvfbNxPzX9MDCaZIhNtk0AoN43
> tS+6McLG8dpyWdr2JnOxZ9dB
> =WXPR
> -----END PGP SIGNATURE-----
More information about the rt-users
mailing list