/*
 * Copyright [2006] [University Corporation for Advanced Internet Development, Inc.]
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.opensaml.log;

/** Critical logging level for items that are not errors but still important. */
public class Level extends org.apache.log4j.Level {

    /** Integer representation of logging level. */
    public static final int CRITICAL_INT = 60000;
    
    /** Critical logging level. */
    public static final Level CRITICAL = new Level();
    
    /** Serial version UID. */
    private static final long serialVersionUID = -104586023689772363L;
        
    /** Constructor. */
    protected Level(){
        super(CRITICAL_INT, "CRITICAL", 0);
    }
}
@@ -669,23 +669,28 @@
 og;%0A%0A/**
- Critic
+%0A * Addition
 al loggi
@@ -701,59 +701,193 @@
 evel
- for items that are not errors but still important.
+s. %0A * %0A * %3Cul%3E%0A * %3Cli%3ECRITIAL - for messages that should always be logged but not be errors%3C/li%3E%0A * %3Cli%3ETRAIL - equivalent to TRACE introduced in later versions of Log4j%3C/li%3E%0A * %3C/ul%3E%0A
  */%0A
@@ -973,16 +973,26 @@
 tion of 
+CRITICIAL 
 logging 
@@ -1068,86 +1068,331 @@
 /** 
-Critical logging level. */%0A    public static final Level CRITICAL = new Level(
+Integer representation of TRAIL logging level. */%0A    public static final int TRAIL_INT = 5000;%0A    %0A    /** Critical logging level. */%0A    public static final Level CRITICAL = new Level(CRITICAL_INT, %22CRITICAL%22, 0);%0A    %0A    /** Trail logging level. */%0A    public static final Level TRAIL = new Level(TRAIL_INT, %22TRACE%22, 7
 );%0A 
@@ -1480,26 +1480,27 @@
  = -
-104586023689772363
+8920329210711643389
 L;%0A 
@@ -1514,16 +1514,23 @@
 %0A    /**
+%0A     *
  Constru
@@ -1538,76 +1538,302 @@
 tor.
- */%0A    protected Level()%7B%0A        super(CRITICAL_INT, %22CRITICAL%22, 0
+%0A     *%0A     * @param level integer representation of the logging level%0A     * @param name human readable name for the logging level%0A     * @param sysLogLevel corresponding syslog level%0A     */%0A    protected Level(int level, String name, int sysLogLevel)%7B%0A        super(level, name, sysLogLevel
 );%0A 

Add TRACE-equivalent level (that won't conflict with TRACE if people are using newer log4j levels)