public class LogbackLoggingSupport extends java.lang.Object implements LoggingSupport
LoggingSupportFactory
which dynamically loads and
instantiates an appropriate implementation according to the used slf4j binding.Constructor and Description |
---|
LogbackLoggingSupport() |
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,java.lang.String> |
getLoggingLevels() |
void |
onShutdown()
Hook used to execute logging implementation specific customization at Cassandra shutdown time.
|
void |
onStartup()
Hook used to execute logging implementation specific customization at Cassandra startup time.
|
void |
setLoggingLevel(java.lang.String classQualifier,
java.lang.String rawLevel)
Changes the given logger to the given log level.
|
public void onStartup()
LoggingSupport
onStartup
in interface LoggingSupport
public void onShutdown()
LoggingSupport
onShutdown
in interface LoggingSupport
public void setLoggingLevel(java.lang.String classQualifier, java.lang.String rawLevel) throws java.lang.Exception
LoggingSupport
setLoggingLevel
in interface LoggingSupport
classQualifier
- the class qualifier or logger namerawLevel
- the string representation of a log leveljava.lang.Exception
- an exception which may occur while changing the given logger to the given log level.public java.util.Map<java.lang.String,java.lang.String> getLoggingLevels()
getLoggingLevels
in interface LoggingSupport
Copyright © 2009-2021 The Apache Software Foundation