Package org.apache.hadoop.hbase.logging
Class InternalLog4jUtils
java.lang.Object
org.apache.hadoop.hbase.logging.InternalLog4jUtils
The actual class for operating on log4j2.
 
 This class will depend on log4j directly, so callers should not use this class directly to avoid
 introducing log4j2 dependencies to downstream users. Please call the methods in
 
Log4jUtils, as they will call the methods here through reflection.- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescription(package private) static StringgetEffectiveLevel(String loggerName) private static org.apache.logging.log4j.Level(package private) static voidsetAllLevels(String loggerName, String levelName) (package private) static voidsetLogLevel(String loggerName, String levelName) (package private) static voidsetRootLevel(String levelName) 
- 
Constructor Details- 
InternalLog4jUtilsprivate InternalLog4jUtils()
 
- 
- 
Method Details- 
getLevelprivate static org.apache.logging.log4j.Level getLevel(String levelName) throws IllegalArgumentException - Throws:
- IllegalArgumentException
 
- 
setAllLevels
- 
setLogLevel
- 
setRootLevel
- 
getEffectiveLevel
- 
getActiveLogFiles- Throws:
- IOException
 
 
-