use the getLogger() method instead of the

Logger constructor, which is now private
This commit is contained in:
hns 2001-09-03 13:00:49 +00:00
parent 6cdad2233f
commit b027c74509

View file

@ -688,7 +688,7 @@ public class Application extends UnicastRemoteObject implements IRemoteApp, IRep
if (home != null && !helper.isAbsolute ())
helper = new File (home, logDir);
logDir = helper.getAbsolutePath ();
log = new Logger (logDir, fullLogname);
log = Logger.getLogger (logDir, fullLogname);
} catch (IOException iox) {
System.err.println ("Could not create log "+logname+" for application "+name+": "+iox);
// fallback to System.out