Interface LoggingConfigService
-
- All Known Implementing Classes:
Log4j2ConfigService
public interface LoggingConfigServiceProvides 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()booleanisDiagnosticEnabled()booleanisHibernateLoggingEnabled()voidrateLimit(String exceptionClassName, Duration burstDuration, int burstMax)voidreconfigure(InputStream configStream)voidresetLoggerLevel(String loggerName)voidsetLevelForLogger(String className, String levelName)voidturnOffHibernateLogging()voidturnOnHibernateLogging()
-
-
-
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
-
-