public class Log4JUtil
extends java.lang.Object
com.liferay.util.log4j.Log4JUtil
Constructor and Description |
---|
Log4JUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
configureLog4J(java.lang.ClassLoader classLoader) |
static void |
configureLog4J(java.net.URL url) |
static java.util.Map<java.lang.String,java.lang.String> |
getCustomLogSettings() |
static java.lang.String |
getOriginalLevel(java.lang.String className) |
static void |
initLog4J(java.lang.String serverId,
java.lang.String liferayHome,
java.lang.ClassLoader classLoader,
com.liferay.portal.kernel.log.LogFactory logFactory,
java.util.Map<java.lang.String,java.lang.String> customLogSettings) |
static void |
setLevel(java.lang.String name,
java.lang.String priority,
boolean custom) |
public static void configureLog4J(java.lang.ClassLoader classLoader)
public static void configureLog4J(java.net.URL url)
public static java.util.Map<java.lang.String,java.lang.String> getCustomLogSettings()
public static java.lang.String getOriginalLevel(java.lang.String className)
public static void initLog4J(java.lang.String serverId, java.lang.String liferayHome, java.lang.ClassLoader classLoader, com.liferay.portal.kernel.log.LogFactory logFactory, java.util.Map<java.lang.String,java.lang.String> customLogSettings)
public static void setLevel(java.lang.String name, java.lang.String priority, boolean custom)