Logging bug fix
This commit is contained in:
parent
cc57cd76c2
commit
f4ae64d0d8
1 changed files with 1 additions and 1 deletions
|
|
@ -118,7 +118,7 @@ public class LogUtil {
|
|||
if( newLogger.getHandlers().length > 0 ){
|
||||
// Set the level on the handlers if its level is higher
|
||||
for (Handler handler : newLogger.getHandlers()) {
|
||||
if(handler.getLevel().intValue() < level.intValue())
|
||||
if(handler.getLevel().intValue() > level.intValue())
|
||||
handler.setLevel(level);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue