Logging bug fix

This commit is contained in:
Ziver Koc 2016-04-05 13:29:52 +02:00
parent cc57cd76c2
commit f4ae64d0d8

View file

@ -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);
}
}