use getLogger() method instead of Logger constructor,

which is now private.
This commit is contained in:
hns 2001-09-03 13:08:09 +00:00
parent 43416e122c
commit c564b4e55b

View file

@ -272,7 +272,7 @@ import com.sleepycat.db.*;
if (hopHome != null && !helper.isAbsolute ())
helper = new File (hopHome, logDir);
logDir = helper.getAbsolutePath ();
logger = new Logger (logDir, "hop");
logger = Logger.getLogger (logDir, "hop");
} catch (IOException iox) {
System.err.println ("Could not create Logger for log/hop: "+iox);
// fallback to System.out