Interface LoggingConfigService
-
- All Known Implementing Classes:
Log4j2ConfigService
public interface LoggingConfigService
Provides an abstraction for reconfiguring the logging system.- Since:
- 7.17
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<LoggingConfigEntry>
getLoggerConfig()
boolean
isDiagnosticEnabled()
boolean
isHibernateLoggingEnabled()
void
rateLimit(String exceptionClassName, Duration burstDuration, int burstMax)
void
reconfigure(InputStream configStream)
void
resetLoggerLevel(String loggerName)
void
setLevelForLogger(String className, String levelName)
void
turnOffHibernateLogging()
void
turnOnHibernateLogging()
-
-
-
Method Detail
-
getLoggerConfig
List<LoggingConfigEntry> getLoggerConfig()
- Returns:
- A list of all of the logger configs, sorted by logger name, with the root logger last
-
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
-
-