[rt-users] Timestamps when logging to a file

Mike Friedman mikef at ack.Berkeley.EDU
Tue Dec 13 01:43:03 EST 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Mon, 12 Dec 2005 at 21:45 (-0800), Jim Meyer wrote:

> In the log you sent, I'm assuming that localtime was 8:50-9:33a, yes? If 
> so, my test assertion is that your email-based transactions are 
> correctly timed while your web-based transactions are +8 hrs.
>
> True?

No, all timestamps I see in the web interface are local time, which 
corresponds to my configuration in RT_SiteConfig.pm:

    Set($Timezone , 'Pacific');

Most of our tickets are created by email.  However, I just created a 
ticket via the web and the creation time shows in local time.

As I have said, it's only in the log file that I ever see GMT at all. This 
was NOT the case when I was logging to syslog (where I got local time 
consistently).

However, I had to switch to LogToFile because there's apparently a bug in 
Log::Dispatch::Syslog, that causes disruptive behavior (with error 
messages spewing out at unpredictable times -- on the terminal when 
running external perl scripts, as well as via the web interface). 
Logging to a file (which I assume uses Log::Dispatch::File) fixes all 
these problems.

As I'm essentially the only one who looks at the logs, I can live with the 
current behavior, whereas the problems when logging to syslog were not 
tolerable.

Mike

_____________________________________________________________________
Mike Friedman                   System and Network Security
mikef at ack.Berkeley.EDU          2484 Shattuck Avenue
1-510-642-1410                  University of California at Berkeley
http://ack.Berkeley.EDU/~mikef  http://security.berkeley.edu
_____________________________________________________________________

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5.8

iQA/AwUBQ55tfK0bf1iNr4mCEQJjmwCeI7NAGokS6hYVUHrrxiUx0xNGkyAAn3rY
eWUxhktLjOWR6y0oA/+sqLbc
=yrxF
-----END PGP SIGNATURE-----



More information about the rt-users mailing list