Update of /cvsroot/popfile/engine/POPFile
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3166/POPFile
Modified Files:
Tag: b0_22_2
Loader.pm Logger.pm
Log Message:
Improve start up and shutdown logger messages
Index: Loader.pm
===================================================================
RCS file: /cvsroot/popfile/engine/POPFile/Loader.pm,v
retrieving revision 1.26.6.1
retrieving revision 1.26.6.2
diff -C2 -d -r1.26.6.1 -r1.26.6.2
*** Loader.pm 6 Feb 2006 15:15:53 -0000 1.26.6.1
--- Loader.pm 25 Jan 2008 10:39:19 -0000 1.26.6.2
***************
*** 12,16 ****
# utilities to assist in loading and executing modules
#
! # Copyright (c) 2001-2006 John Graham-Cumming
#
# This file is part of POPFile
--- 12,16 ----
# utilities to assist in loading and executing modules
#
! # Copyright (c) 2001-2008 John Graham-Cumming
#
# This file is part of POPFile
Index: Logger.pm
===================================================================
RCS file: /cvsroot/popfile/engine/POPFile/Logger.pm,v
retrieving revision 1.41.6.1
retrieving revision 1.41.6.2
diff -C2 -d -r1.41.6.1 -r1.41.6.2
*** Logger.pm 6 Feb 2006 15:15:53 -0000 1.41.6.1
--- Logger.pm 25 Jan 2008 10:39:19 -0000 1.41.6.2
***************
*** 10,14 ****
# information to disk or to send it to the screen.
#
! # Copyright (c) 2001-2006 John Graham-Cumming
#
# This file is part of POPFile
--- 10,14 ----
# information to disk or to send it to the screen.
#
! # Copyright (c) 2001-2008 John Graham-Cumming
#
# This file is part of POPFile
***************
*** 137,143 ****
--- 137,161 ----
$self->calculate_today__();
+ $self->debug( 0, '-----------------------' );
+ $self->debug( 0, 'POPFile ' . $self->version() . ' starting' );
+
return 1;
}
+ #----------------------------------------------------------------------------
+ #
+ # stop
+ #
+ # Called to stop the logger module
+ #
+ #----------------------------------------------------------------------------
+ sub stop
+ {
+ my ( $self ) = @_;
+
+ $self->debug( 0, 'POPFile stopped' );
+ $self->debug( 0, '---------------' );
+ }
+
# ---------------------------------------------------------------------------
#
|