public class Log4jBridgeHandler extends Handler
logging.properties
:handlers = org.apache.logging.log4j.jul.Log4jBridgeHandler
install()
method,
e.g. inside ServletContextListener static-class-init. or contextInitialized()
Constructor and Description |
---|
Log4jBridgeHandler()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
flush() |
static void |
install()
Adds a new Log4jBridgeHandler instance to JUL's root logger.
|
static boolean |
isInstalled()
Returns true if Log4jBridgeHandler has been previously installed, returns false otherwise.
|
void |
publish(LogRecord record) |
getEncoding, getErrorManager, getFilter, getFormatter, getLevel, isLoggable, reportError, setEncoding, setErrorManager, setFilter, setFormatter, setLevel
public static void install()
public static boolean isInstalled()
True
if Log4jBridgeHandler is already installed, false
other wise
GridGain In-Memory Computing Platform : ver. 8.9.14 Release Date : November 5 2024