|
From: <jgr...@us...> - 2003-03-05 21:21:45
|
Update of /cvsroot/popfile/engine/POPFile
In directory sc8-pr-cvs1:/tmp/cvs-serv25996/POPFile
Modified Files:
Logger.pm
Log Message:
Made the log output a little simpler
Index: Logger.pm
===================================================================
RCS file: /cvsroot/popfile/engine/POPFile/Logger.pm,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -d -r1.12 -r1.13
*** Logger.pm 5 Mar 2003 21:15:34 -0000 1.12
--- Logger.pm 5 Mar 2003 21:21:40 -0000 1.13
***************
*** 140,145 ****
$message .= "\n";
! my $now = localtime;
! my $msg = "$now ($$): $message";
if ( $self->global_config_( 'debug' ) & 1 ) {
--- 140,146 ----
$message .= "\n";
! my ( $sec, $min, $hour, $mday, $mon, $year, $wday, $yday, $isdst ) = localtime;
! $year += 1900;
! my $msg = "$year/$mon/$mday $hour:$min:$sec $$: $message";
if ( $self->global_config_( 'debug' ) & 1 ) {
|