Interface LoggingConfigService

All Known Implementing Classes:
Log4j2ConfigService

public interface LoggingConfigService
Provides an abstraction for reconfiguring the logging system.
Since:
7.17
  • Method Details

    • getLoggerConfig

      List<LoggingConfigEntry> getLoggerConfig()
      Returns:
      A list of all of the logger configs, sorted by logger name, with the root logger last
    • setLevelForLogger

      void setLevelForLogger(String className, String levelName)
    • resetLoggerLevel

      void resetLoggerLevel(String loggerName)
    • turnOffHibernateLogging

      void turnOffHibernateLogging()
    • turnOnHibernateLogging

      void turnOnHibernateLogging()
    • isHibernateLoggingEnabled

      boolean isHibernateLoggingEnabled()
    • isDiagnosticEnabled

      boolean isDiagnosticEnabled()
    • reconfigure

      void reconfigure(InputStream configStream) throws IOException
      Throws:
      IOException
    • rateLimit

      void rateLimit(String exceptionClassName, Duration burstDuration, int burstMax)
      Since:
      8.0