Quantcast
Viewing all articles
Browse latest Browse all 26

Best Practical Request Tracker Invalid date formatter

Surprised to see how the Request Tracker log file grew so fast with 1Gb in a month.

Anyway some of the recurring items on the log file is the error below:
[warning]: Invalid date formatter ‘{ Format = “ISO”, Seconds => 0 }’, falling back to ISO (/opt/rt4/sbin/../lib/RT/Date.pm:633)

After some checking it shows coming from the RT configuration in RT_SiteConfig.pm found under /opt/rt4/etc/ folder.

The DateTimeFormat configuration seems to be causing it:
Set($DateTimeFormat, ‘{ Format = “ISO”, Seconds => 0 }’);

The Seconds => 0 must be causing as it could not be resolved

Changing the RT configuration to:
Set($DateTimeFormat, {
Format => ‘LocalizedDateTime’,
Date => 1,
Time => 1,
DateFormat => ‘date_format_short’,
Seconds => 0
},
);

Then restart the httpd service and checked the RT logs.

The message is now gone and everything is working okay.



Viewing all articles
Browse latest Browse all 26

Trending Articles