Line 239 of RT.pm seems to be why all errors coming from RT in my apache
logs have the wrong timezone - it uses gmttime for the stamps -
shouldn’t this be localised?
PK
Philip Kime
NOPS Systems Architect
310 401 0407
Line 239 of RT.pm seems to be why all errors coming from RT in my apache
logs have the wrong timezone - it uses gmttime for the stamps -
shouldn’t this be localised?
PK
Philip Kime
NOPS Systems Architect
310 401 0407
Yes, it’s UTC. Use syslog I don’t think there is any reason to switch.On 1/20/07, Philip Kime pkime@shopzilla.com wrote:
Line 239 of RT.pm seems to be why all errors coming from RT in my apache
logs have the wrong timezone - it uses gmttime for the stamps - shouldn’t
this be localised?PK
–
Philip Kime
NOPS Systems Architect
310 401 0407
List info:
The rt-devel Archives
Best regards, Ruslan.
We print timestamps only to Screen and File, but never to syslog. So
if you want mix different logs in one place then syslog is your
answer.
Set( $RT::LogToSyslog, ‘error’ );
Set( $RT::LogToScreen, ‘’ );
Set( $RT::LogToFile, ‘’ );On 1/31/07, Jon Daley bestpractical@jon.limedaley.com wrote:
On Wed, 31 Jan 2007, Ruslan Zakirov wrote:
Yes, it’s UTC. Use syslog I don’t think there is any reason to switch.
I am not quite sure what this means. This is probably a dumb
question, but try not to make too much fun of me…
I have also noticed the time difference, but hadn't spent enough
time to figure out how to change it. I normally use ‘less’ to read the
syslogs, are you saying there is another app to read the logs with, or I
should be passing the RT logs to syslogd and then he can convert the
timestamps?
Best regards, Ruslan.
Yes, it’s UTC. Use syslog I don’t think there is any reason to switch.
I am not quite sure what this means. This is probably a dumb
question, but try not to make too much fun of me…
I have also noticed the time difference, but hadn't spent enough
time to figure out how to change it. I normally use ‘less’ to read the
syslogs, are you saying there is another app to read the logs with, or I
should be passing the RT logs to syslogd and then he can convert the
timestamps?
Ah, I see. I have it set like this:
Set($LogToSyslog , ‘error’);
Set($LogToScreen , ‘error’);
Set($LogToFile , ‘notice’);
So, I basically never see anything in my syslog (since RT is so great…)
but see stuff in the rt.log file with the timestamps as you said.
Thanks for the clarification.On Wed, 31 Jan 2007, Ruslan Zakirov wrote:
We print timestamps only to Screen and File, but never to syslog. So
if you want mix different logs in one place then syslog is your
answer.
Set( $RT::LogToSyslog, ‘error’ );
Set( $RT::LogToScreen, ‘’ );
Set( $RT::LogToFile, ‘’ );On 1/31/07, Jon Daley bestpractical@jon.limedaley.com wrote:
On Wed, 31 Jan 2007, Ruslan Zakirov wrote:
Yes, it’s UTC. Use syslog I don’t think there is any reason to switch.
I am not quite sure what this means. This is probably a dumb
question, but try not to make too much fun of me…
I have also noticed the time difference, but hadn't spent enough
time to figure out how to change it. I normally use ‘less’ to read the
syslogs, are you saying there is another app to read the logs with, or I
should be passing the RT logs to syslogd and then he can convert the
timestamps?–
Best regards, Ruslan.