From: J. D. B. <jd...@go...> - 2006-12-07 14:57:45
|
On December 7, 2006, Mike Schilli wrote: > On Tue, 5 Dec 2006, J. David Blackstone wrote: >=20 > > I'd like all of my log messages to report with a UTC timezone, but I = don't want to change the timezone for the whole job. Is there a way to spe= cify the timezone you want in the layout? >=20 > There's an undocumented feature: >=20 > $Log::Log4perl::DateFormat::GMTIME =3D 1; >=20 > will use UTC instead of local time. Thanks, Mike! That's just what I was looking for! jdb |