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()
LoggingSupportonStartup in interface LoggingSupportpublic void onShutdown()
LoggingSupportonShutdown in interface LoggingSupportpublic void setLoggingLevel(java.lang.String classQualifier,
java.lang.String rawLevel)
throws java.lang.Exception
LoggingSupportsetLoggingLevel in interface LoggingSupportclassQualifier - 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 LoggingSupportCopyright © 2018 The Apache Software Foundation