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 and Description
    `LogConfigManager()`
    `LogConfigManager(AtomicReference<TreeMap<String,LogLevel>> latestLogConfig)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and 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)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### 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()

    - #### getLoggerLevels

          public Map<String,org.apache.logging.log4j.Level> getLoggerLevels()

    - #### setLoggerLevel

          public void setLoggerLevel(org.apache.logging.log4j.core.LoggerContext logContext,
                                     String loggerName,
                                     String newLevelStr)

Copyright © 2021 The Apache Software Foundation. All rights reserved.