From: Bryce McKinlay Date: Wed, 18 Aug 2004 15:51:47 +0000 (+0000) Subject: re PR libgcj/17079 ([PATCH] Log messages whose logging level is equal to the threshol... X-Git-Tag: releases/gcc-4.0.0~5791 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b4b3435ecce4606416949432e6c5454b3b174c37;p=thirdparty%2Fgcc.git re PR libgcj/17079 ([PATCH] Log messages whose logging level is equal to the threshold discarded by java.util.logging.Handler) 2004-08-18 Bryce McKinlay PR libgcj/17079 * java/util/logging/Handler.java (isLoggable): Accept record if its log level equals the threshold level. From Robin Green. From-SVN: r86187 --- diff --git a/libjava/ChangeLog b/libjava/ChangeLog index 0fa156d48d5e..4a91794ee3e6 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,3 +1,9 @@ +2004-08-18 Bryce McKinlay + + PR libgcj/17079 + * java/util/logging/Handler.java (isLoggable): Accept record if its + log level equals the threshold level. From Robin Green. + 2004-08-18 David Daney * java/lang/natPosixProcess.cc (waitForSignal): Use sigsuspend diff --git a/libjava/java/util/logging/Handler.java b/libjava/java/util/logging/Handler.java index f74ed0ec6c07..0caeafbe5f74 100644 --- a/libjava/java/util/logging/Handler.java +++ b/libjava/java/util/logging/Handler.java @@ -378,7 +378,7 @@ h.setFormatter(h.getFormatter()); */ public boolean isLoggable(LogRecord record) { - if (record.getLevel().intValue() <= level.intValue()) + if (record.getLevel().intValue() < level.intValue()) return false; if (filter != null)