base/base/src/main/com/thesett/util/log4j/LoggingToLog4JHandler.java
private org.apache.log4j.Level toLog4j(Level level)
    {
        if (Level.SEVERE == level)
        {
            return org.apache.log4j.Level.ERROR;
        }
        else if (Level.WARNING == level)
        {
            return org.apache.log4j.Level.WARN;
        }
        else if (Level.INFO == level)
        {
            return org.apache.log4j.Level.INFO;
        }
        else if (Level.FINE == level)
        {
            return org.apache.log4j.Level.DEBUG;
        }
        else if (Level.FINER == level)
        {
            return org.apache.log4j.Level.TRACE;
        }
        else if (Level.OFF == level)
        {
            return org.apache.log4j.Level.OFF;
        }

        return org.apache.log4j.Level.OFF;
    }
private org.apache.log4j.Level toLog4j(Level level)
    {
        if (Level.SEVERE == level)
        {
            return org.apache.log4j.Level.ERROR;
        }
        else if (Level.WARNING == level)
        {
            return org.apache.log4j.Level.WARN;
        }
        else if (Level.INFO == level)
        {
            return org.apache.log4j.Level.INFO;
        }
        else if (Level.FINE == level)
        {
            return org.apache.log4j.Level.DEBUG;
        }
        else if (Level.FINER == level)
        {
            return org.apache.log4j.Level.TRACE;
        }
        else if (Level.OFF == level)
        {
            return org.apache.log4j.Level.OFF;
        }

        return org.apache.log4j.Level.OFF;
    }
Converts java.util.logging levels to Log4J logging levels.

@param  level The java.util.logging level to convert.

@return The corresponding Log4J level.