@InterfaceAudience.Private public final class Log4jUtils extends Object
InternalLog4jUtils to actually operate on the log4j stuff.| Modifier and Type | Method and Description |
|---|---|
static void |
disableZkAndClientLoggers()
Disables Zk- and HBase client logging
|
static void |
enableDebug(Class<?> clazz)
Switches the logger for the given class to DEBUG level.
|
static Set<File> |
getActiveLogFiles() |
static String |
getEffectiveLevel(String loggerName) |
static void |
setLogLevel(String loggerName,
String levelName) |
public static Set<File> getActiveLogFiles() throws IOException
IOExceptionpublic static void disableZkAndClientLoggers()
public static void enableDebug(Class<?> clazz)
clazz - The class for which to switch to debug logging.Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.