Liferay 6.2-ce-ga5

com.liferay.util.log4j
Class Log4JUtil

java.lang.Object
  extended by com.liferay.util.log4j.Log4JUtil

public class Log4JUtil
extends Object


Constructor Summary
Log4JUtil()
           
 
Method Summary
static void configureLog4J(ClassLoader classLoader)
           
static void configureLog4J(URL url)
           
static Map<String,String> getCustomLogSettings()
           
static String getOriginalLevel(String className)
           
static void initLog4J(String serverId, String liferayHome, ClassLoader classLoader, LogFactory logFactory, Map<String,String> customLogSettings)
           
static void setLevel(String name, String priority, boolean custom)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Log4JUtil

public Log4JUtil()
Method Detail

configureLog4J

public static void configureLog4J(ClassLoader classLoader)

configureLog4J

public static void configureLog4J(URL url)

getCustomLogSettings

public static Map<String,String> getCustomLogSettings()

getOriginalLevel

public static String getOriginalLevel(String className)

initLog4J

public static void initLog4J(String serverId,
                             String liferayHome,
                             ClassLoader classLoader,
                             LogFactory logFactory,
                             Map<String,String> customLogSettings)

setLevel

public static void setLevel(String name,
                            String priority,
                            boolean custom)

Liferay 6.2-ce-ga5