Package com.liferay.portal.log4j
Class Log4JUtil
Object
com.liferay.portal.log4j.Log4JUtil
- Author:
- Brian Wing Shun Chan, Tomas Polesovsky
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
configureLog4J
(ClassLoader classLoader) static void
configureLog4J
(URL url) static File
getCompanyLogDirectory
(long companyId) static String
getOriginalLevel
(String className) Deprecated.As of Cavanaugh (7.4.x), with no direct replacementstatic void
initLog4J
(String serverId, String liferayHome, ClassLoader classLoader, com.liferay.portal.kernel.log.LogFactory logFactory, Map<String, String> customLogSettings) static void
static void
-
Constructor Details
-
Log4JUtil
public Log4JUtil()
-
-
Method Details
-
configureLog4J
-
configureLog4J
-
getCompanyLogDirectory
-
getCustomLogSettings
-
getOriginalLevel
Deprecated.As of Cavanaugh (7.4.x), with no direct replacement -
getPriorities
-
initLog4J
-
setLevel
-
shutdownLog4J
public static void shutdownLog4J()
-