On Apr 6, 2009, at 4:30 PM, Kimberly McKinnis wrote:

> Great suggestion… but the time zone does exist.
>
> [kmckin...@sjspdsupport ~]$ ls /usr/share/zoneinfo/US/Pacific
> /usr/share/zoneinfo/US/Pacific
>
> [kmckin...@sjspdsupport ~]$ ls /usr/share/zoneinfo/US/
> Alaska  Aleutian  Arizona  Central  Eastern  East-Indiana  Hawaii   
> Indiana-Starke  Michigan  Mountain  Pacific  Samoa
>
> However, my system time is set to /America/Los_Angeles. You’d think  
> it’d be the same, but for paranoia’s sake, we’ll make them match.  
> Changing the RT config to America/Los_Angeles and rebooting doesn’t  
> seem to have changed the logging away from UTC.

RT logs and stores data in the database in UTC
The setting you're touching changes the display in the web ui

If you want non-utf timestamps in your logs, have RT log through
syslog instead of LogToFile

-kevin

>
>
>
> From: Jo Rhett [mailto:jrh...@netconsonance.com]
> Sent: Friday, April 03, 2009 6:34 PM
> To: Kimberly McKinnis
> Cc: rt-users@lists.bestpractical.com
> Subject: Re: [rt-users] rt system time
>
> On Apr 3, 2009, at 4:40 PM, Kimberly McKinnis wrote:
>> Can I force my RT install to use the system time/time zone?
>> The system time is correct, and /etc/rt/RT_SiteConfig.pm has always  
>> been set to Set($Timezone, 'US/Pacific');, but I’m noticing that  
>> the rt.log is logging 7 hours ahead (GMT?) Should I care? What’s  
>> the point of setting the timezone if we’re logging in UTC/GMT?
>
> Is US/Pacific a timezone on your system?   For example, I had this  
> same problem until I realized that on FreeBSD I needed to use  
> America/Los_Angeles
>
> ls /usr/share/zoneinfo (or it's equivalent on your system) will show  
> you the accepted names.
>
> -- 
> Jo Rhett
> Net Consonance : consonant endings by net philanthropy, open source  
> and other randomness
>
>
>
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>
> Community help: http://wiki.bestpractical.com
> Commercial support: sa...@bestpractical.com
>
>
> Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
> Buy a copy at http://rtbook.bestpractical.com

_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com

Reply via email to