Class NoOpFallbackLoggingSupport

java.lang.Object
org.apache.cassandra.utils.logging.NoOpFallbackLoggingSupport
All Implemented Interfaces:
LoggingSupport

public class NoOpFallbackLoggingSupport extends Object implements 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 Details

    • NoOpFallbackLoggingSupport

      public NoOpFallbackLoggingSupport()
  • Method Details

    • setLoggingLevel

      public void setLoggingLevel(String classQualifier, String rawLevel) throws Exception
      Description copied from interface: LoggingSupport
      Changes the given logger to the given log level.
      Specified by:
      setLoggingLevel in interface LoggingSupport
      Parameters:
      classQualifier - the class qualifier or logger name
      rawLevel - 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

      public Map<String,String> getLoggingLevels()
      Specified by:
      getLoggingLevels in interface LoggingSupport
      Returns:
      a map of logger names and their associated log level as string representations.