public class org.apache.cassandra.utils.logging.LoggingSupportFactory
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.cassandra.utils.logging.LoggingSupportFactory
super_class: java.lang.Object
{
private static final org.slf4j.Logger logger;
descriptor: Lorg/slf4j/Logger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static volatile org.apache.cassandra.utils.logging.LoggingSupport loggingSupport;
descriptor: Lorg/apache/cassandra/utils/logging/LoggingSupport;
flags: (0x004a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/apache/cassandra/utils/logging/LoggingSupportFactory;
invokestatic org.slf4j.LoggerFactory.getLogger:(Ljava/lang/Class;)Lorg/slf4j/Logger;
putstatic org.apache.cassandra.utils.logging.LoggingSupportFactory.logger:Lorg/slf4j/Logger;
1: return
LocalVariableTable:
Start End Slot Name Signature
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/utils/logging/LoggingSupportFactory;
public static org.apache.cassandra.utils.logging.LoggingSupport getLoggingSupport();
descriptor: ()Lorg/apache/cassandra/utils/logging/LoggingSupport;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=0
0: getstatic org.apache.cassandra.utils.logging.LoggingSupportFactory.loggingSupport:Lorg/apache/cassandra/utils/logging/LoggingSupport;
ifnonnull 9
1: invokestatic org.slf4j.LoggerFactory.getILoggerFactory:()Lorg/slf4j/ILoggerFactory;
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
astore 0
start local 0 2: aload 0
ldc "logback"
invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
ifeq 5
3: ldc "org.apache.cassandra.utils.logging.LogbackLoggingSupport"
ldc "LogbackLoggingSupport"
invokestatic org.apache.cassandra.utils.FBUtilities.instanceOrConstruct:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/Object;
checkcast org.apache.cassandra.utils.logging.LoggingSupport
putstatic org.apache.cassandra.utils.logging.LoggingSupportFactory.loggingSupport:Lorg/apache/cassandra/utils/logging/LoggingSupport;
4: goto 9
5: StackMap locals: java.lang.String
StackMap stack:
new org.apache.cassandra.utils.logging.NoOpFallbackLoggingSupport
dup
invokespecial org.apache.cassandra.utils.logging.NoOpFallbackLoggingSupport.<init>:()V
putstatic org.apache.cassandra.utils.logging.LoggingSupportFactory.loggingSupport:Lorg/apache/cassandra/utils/logging/LoggingSupport;
6: getstatic org.apache.cassandra.utils.logging.LoggingSupportFactory.logger:Lorg/slf4j/Logger;
ldc "You are using Cassandra with an unsupported deployment. The intended logging implementation library logback is not used by slf4j. Detected slf4j logger factory: {}. You will not be able to dynamically manage log levels via JMX and may have performance or other issues."
7: aload 0
8: invokeinterface org.slf4j.Logger.warn:(Ljava/lang/String;Ljava/lang/Object;)V
end local 0 9: StackMap locals:
StackMap stack:
getstatic org.apache.cassandra.utils.logging.LoggingSupportFactory.loggingSupport:Lorg/apache/cassandra/utils/logging/LoggingSupport;
areturn
LocalVariableTable:
Start End Slot Name Signature
2 9 0 loggerFactoryClass Ljava/lang/String;
}
SourceFile: "LoggingSupportFactory.java"