Class NoOpFallbackLoggingSupport
java.lang.Object
org.apache.cassandra.utils.logging.NoOpFallbackLoggingSupport
- All Implemented Interfaces:
LoggingSupport
A fallback implementation with empty implementations which ensures other slf4j bindings (logging implementations)
than the default supported framework can be used. This loses functionality, but is perfectly fine for most
integration test requirements of applications using an embedded cassandra server.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetLoggingLevel(String classQualifier, String rawLevel) Changes the given logger to the given log level.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.cassandra.utils.logging.LoggingSupport
getAppender, onShutdown, onStartup
-
Constructor Details
-
NoOpFallbackLoggingSupport
public NoOpFallbackLoggingSupport()
-
-
Method Details
-
setLoggingLevel
Description copied from interface:LoggingSupportChanges the given logger to the given log level.- Specified by:
setLoggingLevelin interfaceLoggingSupport- Parameters:
classQualifier- the class qualifier or logger namerawLevel- the string representation of a log level- Throws:
Exception- an exception which may occur while changing the given logger to the given log level.
-
getLoggingLevels
- Specified by:
getLoggingLevelsin interfaceLoggingSupport- Returns:
- a map of logger names and their associated log level as string representations.
-