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  <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
This commit is contained in:
Bryce McKinlay 2004-08-18 15:51:47 +00:00 committed by Bryce McKinlay
parent 720086cd84
commit b4b3435ecc
2 changed files with 7 additions and 1 deletions

View 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> 2004-08-18 David Daney <ddaney@avtrex.com>
* java/lang/natPosixProcess.cc (waitForSignal): Use sigsuspend * java/lang/natPosixProcess.cc (waitForSignal): Use sigsuspend

View File

@ -378,7 +378,7 @@ h.setFormatter(h.getFormatter());</pre>
*/ */
public boolean isLoggable(LogRecord record) public boolean isLoggable(LogRecord record)
{ {
if (record.getLevel().intValue() <= level.intValue()) if (record.getLevel().intValue() < level.intValue())
return false; return false;
if (filter != null) if (filter != null)