net.geant.edugain.attributes
Class Log4jConfigurator

java.lang.Object
  extended by net.geant.edugain.attributes.Log4jConfigurator

public class Log4jConfigurator
extends java.lang.Object

Simple helper class for configuring Log4j.

Author:
Adam Lantos

Constructor Summary
Log4jConfigurator()
           
 
Method Summary
static void configureLog4JWithConsoleAppender()
          Configure Log4j framework to log warn messages to the system console.
static void configureLog4JWithConsoleAppender(org.apache.log4j.Level level)
          Configure Log4j framework to log messages to the system console.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Log4jConfigurator

public Log4jConfigurator()
Method Detail

configureLog4JWithConsoleAppender

public static void configureLog4JWithConsoleAppender(org.apache.log4j.Level level)
Configure Log4j framework to log messages to the system console.

Parameters:
level - logging Level

configureLog4JWithConsoleAppender

public static void configureLog4JWithConsoleAppender()
Configure Log4j framework to log warn messages to the system console.