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-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b4b3435ecce4606416949432e6c5454b3b174c37;p=gcc.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 0fa156d48d5..4a91794ee3e 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 f74ed0ec6c0..0caeafbe5f7 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)