Interface LoggingConfigService
- All Known Implementing Classes:
Log4j2ConfigService
public interface LoggingConfigService
Provides an abstraction for reconfiguring the logging system.
- Since:
- 7.17
-
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
void
void
reconfigure
(InputStream configStream) void
resetLoggerLevel
(String loggerName) void
setLevelForLogger
(String className, String levelName) void
void
-
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
-
resetLoggerLevel
-
turnOffHibernateLogging
void turnOffHibernateLogging() -
turnOnHibernateLogging
void turnOnHibernateLogging() -
isHibernateLoggingEnabled
boolean isHibernateLoggingEnabled() -
isDiagnosticEnabled
boolean isDiagnosticEnabled() -
reconfigure
- Throws:
IOException
-
rateLimit
- Since:
- 8.0
-