use the getLogger() method instead of the
Logger constructor, which is now private
This commit is contained in:
parent
6cdad2233f
commit
b027c74509
1 changed files with 1 additions and 1 deletions
|
@ -688,7 +688,7 @@ public class Application extends UnicastRemoteObject implements IRemoteApp, IRep
|
||||||
if (home != null && !helper.isAbsolute ())
|
if (home != null && !helper.isAbsolute ())
|
||||||
helper = new File (home, logDir);
|
helper = new File (home, logDir);
|
||||||
logDir = helper.getAbsolutePath ();
|
logDir = helper.getAbsolutePath ();
|
||||||
log = new Logger (logDir, fullLogname);
|
log = Logger.getLogger (logDir, fullLogname);
|
||||||
} catch (IOException iox) {
|
} catch (IOException iox) {
|
||||||
System.err.println ("Could not create log "+logname+" for application "+name+": "+iox);
|
System.err.println ("Could not create log "+logname+" for application "+name+": "+iox);
|
||||||
// fallback to System.out
|
// fallback to System.out
|
||||||
|
|
Loading…
Add table
Reference in a new issue