Package org.apache.storm.daemon.worker
Class LogConfigManager
- java.lang.Object
-
- org.apache.storm.daemon.worker.LogConfigManager
-
public class LogConfigManager extends Object
-
-
Constructor Summary
Constructors Constructor Description LogConfigManager()
LogConfigManager(AtomicReference<TreeMap<String,LogLevel>> latestLogConfig)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,org.apache.logging.log4j.Level>
getLoggerLevels()
void
processLogConfigChange(LogConfig logConfig)
void
resetLogLevels()
void
setLoggerLevel(org.apache.logging.log4j.core.LoggerContext logContext, String loggerName, String newLevelStr)
-
-
-
Constructor Detail
-
LogConfigManager
public LogConfigManager()
-
LogConfigManager
public LogConfigManager(AtomicReference<TreeMap<String,LogLevel>> latestLogConfig)
-
-
Method Detail
-
processLogConfigChange
public void processLogConfigChange(LogConfig logConfig)
-
resetLogLevels
public void resetLogLevels()
-
-