classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Need bug confirmation


From: Archie Cobbs
Subject: Need bug confirmation
Date: Sat, 05 Feb 2005 14:54:12 -0600
User-agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.3) Gecko/20041129

Hi,

I was wondering if some other Classpath developers could confirm
this bug. I'm trying to rule it out as being JC-specific. The problem
is that the Logger has a level of null instead of FINE:

With JDK 1.4.2:

  address@hidden level=FINE
  Feb 5, 2005 2:53:25 PM LogInit main
  INFO: PASS

With JC:

  address@hidden level=null

Thanks!
-Archie

__________________________________________________________________________
Archie Cobbs      *        CTO, Awarix        *      http://www.awarix.com
import java.util.logging.*;
import java.io.InputStream;

public final class LogInit
{
    public static void main(String[] args)
    {
        try {
            InputStream is = 
LogInit.class.getResourceAsStream("logging.properties");
            LogManager.getLogManager().readConfiguration(is);
        } catch (Exception e) {
            System.err.println(" **** WARNING - error loading logging 
properties:");
            e.printStackTrace();
        }
        Logger s_log = Logger.getLogger(LogInit.class.getName());
        s_log.log(Level.FINE, "Logger initialized");
        s_log.info("PASS");
    }
}

reply via email to

[Prev in Thread] Current Thread [Next in Thread]