re PR libgcj/17079 ([PATCH] Log messages whose logging level is equal to the threshol...
authorBryce McKinlay <mckinlay@redhat.com>
Wed, 18 Aug 2004 15:51:47 +0000 (15:51 +0000)
committerBryce McKinlay <bryce@gcc.gnu.org>
Wed, 18 Aug 2004 15:51:47 +0000 (16:51 +0100)
2004-08-18  Bryce McKinlay  <mckinlay@redhat.com>

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

libjava/ChangeLog
libjava/java/util/logging/Handler.java

index 0fa156d48d5eb973487d91ece2092f515c7297b7..4a91794ee3e6f0d309d00bef942836d4845823a4 100644 (file)
@@ -1,3 +1,9 @@
+2004-08-18  Bryce McKinlay  <mckinlay@redhat.com>
+
+       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  <ddaney@avtrex.com>
 
        * java/lang/natPosixProcess.cc (waitForSignal): Use sigsuspend 
index f74ed0ec6c07409dc1815131aca360850b62c047..0caeafbe5f74432638985be206921ca0b59eeaba 100644 (file)
@@ -378,7 +378,7 @@ h.setFormatter(h.getFormatter());</pre>
    */
   public boolean isLoggable(LogRecord record)
   {
-    if (record.getLevel().intValue() <= level.intValue())
+    if (record.getLevel().intValue() < level.intValue())
       return false;
     
     if (filter != null)