LogToFile and GMT time

Hello!

If I define LogToFile in RT_SiteConfig.pm, timestamp is written in GMT timezone,
which is inconvenient. Why not to write this time in local timezone?
I would be much more easy to compare timestapms with those in maillog, for
instance…

I propose the following patch:

— RT.pm.old Mon Sep 1 17:06:24 2003
+++ RT.pm Tue Nov 18 19:11:33 2003
@@ -193,7 +193,7 @@
mode=>‘append’,
callbacks => sub { my %p = @_;
my ($package, $filename, $line) = caller(5);

  •                            return "[".gmtime(time)."] [".$p{level}."]: $p{message} ($filename:$line)\n"}
    
  •                            return "[".localtime()."] [".$p{level}."]: $p{message} ($filename:$line)\n"}
    

Thanks!!