[Opensrf-commits] r1155 - trunk/src/perlmods/OpenSRF/Utils
svn at svn.open-ils.org
svn at svn.open-ils.org
Wed Dec 5 09:57:55 EST 2007
Author: erickson
Date: 2007-12-05 09:38:16 -0500 (Wed, 05 Dec 2007)
New Revision: 1155
Modified:
trunk/src/perlmods/OpenSRF/Utils/Logger.pm
Log:
returning if config is not defined since next line of code tries to use config
Modified: trunk/src/perlmods/OpenSRF/Utils/Logger.pm
===================================================================
--- trunk/src/perlmods/OpenSRF/Utils/Logger.pm 2007-11-30 16:28:39 UTC (rev 1154)
+++ trunk/src/perlmods/OpenSRF/Utils/Logger.pm 2007-12-05 14:38:16 UTC (rev 1155)
@@ -64,6 +64,7 @@
if( !defined($config) ) {
$loglevel = INFO();
warn "*** Logger found no config. Using STDERR ***\n";
+ return;
}
$loglevel = $config->bootstrap->loglevel;
More information about the opensrf-commits
mailing list