mirror of
https://github.com/corda/corda.git
synced 2025-01-03 19:54:13 +00:00
Initialize Logger instances to the 'INFO' level by default
... otherwise, logging would throw an exception when trying to determine whether the current level allows the message to be logged. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
This commit is contained in:
parent
dba8d39e63
commit
874bf4ef4c
@ -32,6 +32,7 @@ public class Logger {
|
||||
if (name.equals("")) return rootLogger;
|
||||
Logger logger = new Logger(name);
|
||||
logger.parent = rootLogger;
|
||||
logger.setLevel(Level.INFO);
|
||||
return logger;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user