All,

These don't match the JDK's formatter logging levels:

    /**
     * Log level value for TRACE.
     */
    public static final int LOG_LEVEL_TRACE = 400;
    /**
     * Log level value for DEBUG.
     */
    public static final int LOG_LEVEL_DEBUG = 500;
    /**
     * Log level value for INFO.
     */
    public static final int LOG_LEVEL_INFO = 800;
    /**
     * Log level value for WARN.
     */
    public static final int LOG_LEVEL_WARN = 900;
    /**
     * Log level value for ERROR.
     */
    public static final int LOG_LEVEL_ERROR = 1000;
    /**
     * Log level value for FATAL.
     */
    public static final int LOG_LEVEL_FATAL = 1000;

Is this intentional?

j.u.l.LogRecord.getLevel returns these constants:

FINEST = 300 (i.e. super-trace)
FINER = 400 (i.e. trace)
FINE = 500 (i.e. debug)
INFO = 800
WARNING = 900
SEVERE = 1000 (i.e. error/fatal)

Since ERROR and FATAL are the same, we have some useless logic in there.

-chris


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to