|
From: Mike S. <m...@pe...> - 2006-07-05 17:55:49
|
On Mon, 3 Jul 2006, Roger Day wrote:
> Currently, the logging times are being output in GMT. What's the easiest
> way to get them into localtime which for me, is BST?
Actually, Log4perl uses localtime, not gmtime:
# test.pl
use Log::Log4perl qw(:easy);
Log::Log4perl->easy_init({ level => $DEBUG, layout => "%d %m%n"} );
DEBUG "hi there!";
$ ./test.pl
2006/07/05 10:53:57 hi there!
$ date
Wed Jul 5 10:53:58 PDT 2006
-- Mike
Mike Schilli
m...@pe...
|