[rt-users] Timestamps when logging to a file

Schultz, Eric ESchultz at corp.untd.com
Mon Dec 12 22:35:18 EST 2005


Also a handy one:
 
find /path/to/rt -type f | xargs grep "thing you are looking for"
 
sometimes you will also want to remove some noise with some more pipes on the end:
 
 | grep -v I18N | grep -v rt.log

________________________________

From: rt-users-bounces at lists.bestpractical.com on behalf of Jim Meyer
Sent: Mon 12/12/2005 6:29 PM
To: Mike Friedman
Cc: rt-users
Subject: Re: [rt-users] Timestamps when logging to a file



Hello!

On Mon, 2005-12-12 at 16:35, Mike Friedman wrote:
> Now most of the entries in my log file are, indeed, in local time, but
> they are interspersed with messages that are still using GMT.  Is there
> some other place besides RT.pm that I must change in order to get
> consistent local time in my log file?

YMMV, but here's how I go hunting such things:

> cd /path/to/rt
> grep -rl gmtime lib
lib/RT/Date.pm
lib/RT/Tickets_Overlay.pm
lib/RT.pm
lib/RT.pm.in

Good luck!

--j
--
Jim Meyer, Geek at Large                                    purp at acm.org

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

Be sure to check out the RT Wiki at http://wiki.bestpractical.com

Download a free sample chapter of RT Essentials from O'Reilly Media at http://rtbook.bestpractical.com

WE'RE COMING TO YOUR TOWN SOON - RT Training in Amsterdam, Boston and
San Francisco - Find out more at http://bestpractical.com/services/training.html


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20051212/638bcaae/attachment.htm>


More information about the rt-users mailing list