public class io.dropwizard.logging.DefaultLoggingFactory implements io.dropwizard.logging.LoggingFactory
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.dropwizard.logging.DefaultLoggingFactory
super_class: java.lang.Object
{
private static final java.util.concurrent.locks.ReentrantLock MBEAN_REGISTRATION_LOCK;
descriptor: Ljava/util/concurrent/locks/ReentrantLock;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.util.concurrent.locks.ReentrantLock CHANGE_LOGGER_CONTEXT_LOCK;
descriptor: Ljava/util/concurrent/locks/ReentrantLock;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private java.lang.String level;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
javax.validation.constraints.NotNull()
RuntimeVisibleTypeAnnotations:
FIELD
javax.validation.constraints.NotNull()
private java.util.Map<java.lang.String, com.fasterxml.jackson.databind.JsonNode> loggers;
descriptor: Ljava/util/Map;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Map<Ljava/lang/String;Lcom/fasterxml/jackson/databind/JsonNode;>;
RuntimeVisibleAnnotations:
javax.validation.constraints.NotNull()
RuntimeVisibleTypeAnnotations:
FIELD
javax.validation.constraints.NotNull()
private java.util.List<io.dropwizard.logging.AppenderFactory<ch.qos.logback.classic.spi.ILoggingEvent>> appenders;
descriptor: Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/List<Lio/dropwizard/logging/AppenderFactory<Lch/qos/logback/classic/spi/ILoggingEvent;>;>;
RuntimeVisibleAnnotations:
javax.validation.Valid()
javax.validation.constraints.NotNull()
RuntimeVisibleTypeAnnotations:
FIELD
javax.validation.Valid()
FIELD
javax.validation.constraints.NotNull()
private final ch.qos.logback.classic.LoggerContext loggerContext;
descriptor: Lch/qos/logback/classic/LoggerContext;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
RuntimeVisibleAnnotations:
com.fasterxml.jackson.annotation.JsonIgnore()
private final java.io.PrintStream ;
descriptor: Ljava/io/PrintStream;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
RuntimeVisibleAnnotations:
com.fasterxml.jackson.annotation.JsonIgnore()
private volatile java.lang.String loggerName;
descriptor: Ljava/lang/String;
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
RuntimeVisibleAnnotations:
com.fasterxml.jackson.annotation.JsonIgnore()
javax.annotation.Nullable()
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new java.util.concurrent.locks.ReentrantLock
dup
invokespecial java.util.concurrent.locks.ReentrantLock.<init>:()V
putstatic io.dropwizard.logging.DefaultLoggingFactory.MBEAN_REGISTRATION_LOCK:Ljava/util/concurrent/locks/ReentrantLock;
1: new java.util.concurrent.locks.ReentrantLock
dup
invokespecial java.util.concurrent.locks.ReentrantLock.<init>:()V
putstatic io.dropwizard.logging.DefaultLoggingFactory.CHANGE_LOGGER_CONTEXT_LOCK:Ljava/util/concurrent/locks/ReentrantLock;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokestatic io.dropwizard.logging.LoggingUtil.getLoggerContext:()Lch/qos/logback/classic/LoggerContext;
getstatic java.lang.System.err:Ljava/io/PrintStream;
invokespecial io.dropwizard.logging.DefaultLoggingFactory.<init>:(Lch/qos/logback/classic/LoggerContext;Ljava/io/PrintStream;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/dropwizard/logging/DefaultLoggingFactory;
void <init>(ch.qos.logback.classic.LoggerContext, java.io.PrintStream);
descriptor: (Lch/qos/logback/classic/LoggerContext;Ljava/io/PrintStream;)V
flags: (0x0000)
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
ldc "INFO"
putfield io.dropwizard.logging.DefaultLoggingFactory.level:Ljava/lang/String;
2: aload 0
invokestatic java.util.Collections.emptyMap:()Ljava/util/Map;
putfield io.dropwizard.logging.DefaultLoggingFactory.loggers:Ljava/util/Map;
3: aload 0
new io.dropwizard.logging.ConsoleAppenderFactory
dup
invokespecial io.dropwizard.logging.ConsoleAppenderFactory.<init>:()V
invokestatic java.util.Collections.singletonList:(Ljava/lang/Object;)Ljava/util/List;
putfield io.dropwizard.logging.DefaultLoggingFactory.appenders:Ljava/util/List;
4: aload 0
aconst_null
putfield io.dropwizard.logging.DefaultLoggingFactory.loggerName:Ljava/lang/String;
5: aload 0
aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast ch.qos.logback.classic.LoggerContext
putfield io.dropwizard.logging.DefaultLoggingFactory.loggerContext:Lch/qos/logback/classic/LoggerContext;
6: aload 0
aload 2
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.io.PrintStream
putfield io.dropwizard.logging.DefaultLoggingFactory.configurationErrorsStream:Ljava/io/PrintStream;
7: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lio/dropwizard/logging/DefaultLoggingFactory;
0 8 1 loggerContext Lch/qos/logback/classic/LoggerContext;
0 8 2 configurationErrorsStream Ljava/io/PrintStream;
MethodParameters:
Name Flags
loggerContext
configurationErrorsStream
ch.qos.logback.classic.LoggerContext getLoggerContext();
descriptor: ()Lch/qos/logback/classic/LoggerContext;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.dropwizard.logging.DefaultLoggingFactory.loggerContext:Lch/qos/logback/classic/LoggerContext;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/logging/DefaultLoggingFactory;
java.io.PrintStream ();
descriptor: ()Ljava/io/PrintStream;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.dropwizard.logging.DefaultLoggingFactory.configurationErrorsStream:Ljava/io/PrintStream;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/logging/DefaultLoggingFactory;
void clear();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=4, args_size=1
start local 0 0: aload 0
getfield io.dropwizard.logging.DefaultLoggingFactory.loggerName:Ljava/lang/String;
astore 1
start local 1 1: aload 1
ifnull 13
2: getstatic io.dropwizard.logging.DefaultLoggingFactory.CHANGE_LOGGER_CONTEXT_LOCK:Ljava/util/concurrent/locks/ReentrantLock;
invokevirtual java.util.concurrent.locks.ReentrantLock.lock:()V
3: aload 0
getfield io.dropwizard.logging.DefaultLoggingFactory.loggerContext:Lch/qos/logback/classic/LoggerContext;
invokevirtual ch.qos.logback.classic.LoggerContext.stop:()V
4: aload 0
getfield io.dropwizard.logging.DefaultLoggingFactory.loggerContext:Lch/qos/logback/classic/LoggerContext;
ldc "ROOT"
invokevirtual ch.qos.logback.classic.LoggerContext.getLogger:(Ljava/lang/String;)Lch/qos/logback/classic/Logger;
astore 2
start local 2 5: aload 2
invokevirtual ch.qos.logback.classic.Logger.detachAndStopAllAppenders:()V
6: aload 0
aload 1
invokevirtual io.dropwizard.logging.DefaultLoggingFactory.configureLoggers:(Ljava/lang/String;)Lch/qos/logback/classic/Logger;
pop
end local 2 7: goto 11
StackMap locals: io.dropwizard.logging.DefaultLoggingFactory java.lang.String
StackMap stack: java.lang.Throwable
8: astore 3
9: getstatic io.dropwizard.logging.DefaultLoggingFactory.CHANGE_LOGGER_CONTEXT_LOCK:Ljava/util/concurrent/locks/ReentrantLock;
invokevirtual java.util.concurrent.locks.ReentrantLock.unlock:()V
10: aload 3
athrow
11: StackMap locals:
StackMap stack:
getstatic io.dropwizard.logging.DefaultLoggingFactory.CHANGE_LOGGER_CONTEXT_LOCK:Ljava/util/concurrent/locks/ReentrantLock;
invokevirtual java.util.concurrent.locks.ReentrantLock.unlock:()V
12: getstatic java.lang.System.out:Ljava/io/PrintStream;
invokestatic ch.qos.logback.core.util.StatusPrinter.setPrintStream:(Ljava/io/PrintStream;)V
13: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lio/dropwizard/logging/DefaultLoggingFactory;
1 14 1 name Ljava/lang/String;
5 7 2 logger Lch/qos/logback/classic/Logger;
Exception table:
from to target type
3 8 8 any
public java.lang.String getLevel();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.dropwizard.logging.DefaultLoggingFactory.level:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/logging/DefaultLoggingFactory;
RuntimeVisibleAnnotations:
com.fasterxml.jackson.annotation.JsonProperty()
public void setLevel(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield io.dropwizard.logging.DefaultLoggingFactory.level:Ljava/lang/String;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/dropwizard/logging/DefaultLoggingFactory;
0 2 1 level Ljava/lang/String;
RuntimeVisibleAnnotations:
com.fasterxml.jackson.annotation.JsonProperty()
MethodParameters:
Name Flags
level
public java.util.Map<java.lang.String, com.fasterxml.jackson.databind.JsonNode> getLoggers();
descriptor: ()Ljava/util/Map;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.dropwizard.logging.DefaultLoggingFactory.loggers:Ljava/util/Map;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/logging/DefaultLoggingFactory;
Signature: ()Ljava/util/Map<Ljava/lang/String;Lcom/fasterxml/jackson/databind/JsonNode;>;
RuntimeVisibleAnnotations:
com.fasterxml.jackson.annotation.JsonProperty()
public void setLoggers(java.util.Map<java.lang.String, com.fasterxml.jackson.databind.JsonNode>);
descriptor: (Ljava/util/Map;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
new java.util.HashMap
dup
aload 1
invokespecial java.util.HashMap.<init>:(Ljava/util/Map;)V
putfield io.dropwizard.logging.DefaultLoggingFactory.loggers:Ljava/util/Map;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/dropwizard/logging/DefaultLoggingFactory;
0 2 1 loggers Ljava/util/Map<Ljava/lang/String;Lcom/fasterxml/jackson/databind/JsonNode;>;
Signature: (Ljava/util/Map<Ljava/lang/String;Lcom/fasterxml/jackson/databind/JsonNode;>;)V
RuntimeVisibleAnnotations:
com.fasterxml.jackson.annotation.JsonProperty()
MethodParameters:
Name Flags
loggers
public java.util.List<io.dropwizard.logging.AppenderFactory<ch.qos.logback.classic.spi.ILoggingEvent>> getAppenders();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.dropwizard.logging.DefaultLoggingFactory.appenders:Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/logging/DefaultLoggingFactory;
Signature: ()Ljava/util/List<Lio/dropwizard/logging/AppenderFactory<Lch/qos/logback/classic/spi/ILoggingEvent;>;>;
RuntimeVisibleAnnotations:
com.fasterxml.jackson.annotation.JsonProperty()
public void setAppenders(java.util.List<io.dropwizard.logging.AppenderFactory<ch.qos.logback.classic.spi.ILoggingEvent>>);
descriptor: (Ljava/util/List;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
new java.util.ArrayList
dup
aload 1
invokespecial java.util.ArrayList.<init>:(Ljava/util/Collection;)V
putfield io.dropwizard.logging.DefaultLoggingFactory.appenders:Ljava/util/List;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/dropwizard/logging/DefaultLoggingFactory;
0 2 1 appenders Ljava/util/List<Lio/dropwizard/logging/AppenderFactory<Lch/qos/logback/classic/spi/ILoggingEvent;>;>;
Signature: (Ljava/util/List<Lio/dropwizard/logging/AppenderFactory<Lch/qos/logback/classic/spi/ILoggingEvent;>;>;)V
RuntimeVisibleAnnotations:
com.fasterxml.jackson.annotation.JsonProperty()
MethodParameters:
Name Flags
appenders
public void configure(com.codahale.metrics.MetricRegistry, java.lang.String);
descriptor: (Lcom/codahale/metrics/MetricRegistry;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=10, args_size=3
start local 0 start local 1 start local 2 0: invokestatic io.dropwizard.logging.LoggingUtil.hijackJDKLogging:()V
1: getstatic io.dropwizard.logging.DefaultLoggingFactory.CHANGE_LOGGER_CONTEXT_LOCK:Ljava/util/concurrent/locks/ReentrantLock;
invokevirtual java.util.concurrent.locks.ReentrantLock.lock:()V
2: aload 0
aload 2
invokevirtual io.dropwizard.logging.DefaultLoggingFactory.configureLoggers:(Ljava/lang/String;)Lch/qos/logback/classic/Logger;
astore 3
start local 3 3: goto 7
end local 3 StackMap locals:
StackMap stack: java.lang.Throwable
4: astore 4
5: getstatic io.dropwizard.logging.DefaultLoggingFactory.CHANGE_LOGGER_CONTEXT_LOCK:Ljava/util/concurrent/locks/ReentrantLock;
invokevirtual java.util.concurrent.locks.ReentrantLock.unlock:()V
6: aload 4
athrow
start local 3 7: StackMap locals: ch.qos.logback.classic.Logger
StackMap stack:
getstatic io.dropwizard.logging.DefaultLoggingFactory.CHANGE_LOGGER_CONTEXT_LOCK:Ljava/util/concurrent/locks/ReentrantLock;
invokevirtual java.util.concurrent.locks.ReentrantLock.unlock:()V
8: aload 0
aload 2
putfield io.dropwizard.logging.DefaultLoggingFactory.loggerName:Ljava/lang/String;
9: new io.dropwizard.logging.filter.ThresholdLevelFilterFactory
dup
invokespecial io.dropwizard.logging.filter.ThresholdLevelFilterFactory.<init>:()V
astore 4
start local 4 10: new io.dropwizard.logging.async.AsyncLoggingEventAppenderFactory
dup
invokespecial io.dropwizard.logging.async.AsyncLoggingEventAppenderFactory.<init>:()V
astore 5
start local 5 11: new io.dropwizard.logging.layout.DropwizardLayoutFactory
dup
invokespecial io.dropwizard.logging.layout.DropwizardLayoutFactory.<init>:()V
astore 6
start local 6 12: aload 0
getfield io.dropwizard.logging.DefaultLoggingFactory.appenders:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 8
goto 15
StackMap locals: io.dropwizard.logging.DefaultLoggingFactory com.codahale.metrics.MetricRegistry java.lang.String ch.qos.logback.classic.Logger io.dropwizard.logging.filter.LevelFilterFactory io.dropwizard.logging.async.AsyncAppenderFactory io.dropwizard.logging.layout.LayoutFactory top java.util.Iterator
StackMap stack:
13: aload 8
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast io.dropwizard.logging.AppenderFactory
astore 7
start local 7 14: aload 3
aload 7
aload 0
getfield io.dropwizard.logging.DefaultLoggingFactory.loggerContext:Lch/qos/logback/classic/LoggerContext;
aload 2
aload 6
aload 4
aload 5
invokeinterface io.dropwizard.logging.AppenderFactory.build:(Lch/qos/logback/classic/LoggerContext;Ljava/lang/String;Lio/dropwizard/logging/layout/LayoutFactory;Lio/dropwizard/logging/filter/LevelFilterFactory;Lio/dropwizard/logging/async/AsyncAppenderFactory;)Lch/qos/logback/core/Appender;
invokevirtual ch.qos.logback.classic.Logger.addAppender:(Lch/qos/logback/core/Appender;)V
end local 7 15: StackMap locals:
StackMap stack:
aload 8
invokeinterface java.util.Iterator.hasNext:()Z
ifne 13
16: aload 0
getfield io.dropwizard.logging.DefaultLoggingFactory.configurationErrorsStream:Ljava/io/PrintStream;
invokestatic ch.qos.logback.core.util.StatusPrinter.setPrintStream:(Ljava/io/PrintStream;)V
17: aload 0
getfield io.dropwizard.logging.DefaultLoggingFactory.loggerContext:Lch/qos/logback/classic/LoggerContext;
invokestatic ch.qos.logback.core.util.StatusPrinter.printIfErrorsOccured:(Lch/qos/logback/core/Context;)V
18: goto 22
StackMap locals: io.dropwizard.logging.DefaultLoggingFactory com.codahale.metrics.MetricRegistry java.lang.String ch.qos.logback.classic.Logger io.dropwizard.logging.filter.LevelFilterFactory io.dropwizard.logging.async.AsyncAppenderFactory io.dropwizard.logging.layout.LayoutFactory
StackMap stack: java.lang.Throwable
19: astore 7
20: getstatic java.lang.System.out:Ljava/io/PrintStream;
invokestatic ch.qos.logback.core.util.StatusPrinter.setPrintStream:(Ljava/io/PrintStream;)V
21: aload 7
athrow
22: StackMap locals:
StackMap stack:
getstatic java.lang.System.out:Ljava/io/PrintStream;
invokestatic ch.qos.logback.core.util.StatusPrinter.setPrintStream:(Ljava/io/PrintStream;)V
23: invokestatic java.lang.management.ManagementFactory.getPlatformMBeanServer:()Ljavax/management/MBeanServer;
astore 7
start local 7 24: getstatic io.dropwizard.logging.DefaultLoggingFactory.MBEAN_REGISTRATION_LOCK:Ljava/util/concurrent/locks/ReentrantLock;
invokevirtual java.util.concurrent.locks.ReentrantLock.lock:()V
25: new javax.management.ObjectName
dup
ldc "io.dropwizard:type=Logging"
invokespecial javax.management.ObjectName.<init>:(Ljava/lang/String;)V
astore 8
start local 8 26: aload 7
aload 8
invokeinterface javax.management.MBeanServer.isRegistered:(Ljavax/management/ObjectName;)Z
ifne 38
27: aload 7
new ch.qos.logback.classic.jmx.JMXConfigurator
dup
aload 0
getfield io.dropwizard.logging.DefaultLoggingFactory.loggerContext:Lch/qos/logback/classic/LoggerContext;
28: aload 7
29: aload 8
invokespecial ch.qos.logback.classic.jmx.JMXConfigurator.<init>:(Lch/qos/logback/classic/LoggerContext;Ljavax/management/MBeanServer;Ljavax/management/ObjectName;)V
30: aload 8
31: invokeinterface javax.management.MBeanServer.registerMBean:(Ljava/lang/Object;Ljavax/management/ObjectName;)Ljavax/management/ObjectInstance;
pop
end local 8 32: goto 38
33: StackMap locals: io.dropwizard.logging.DefaultLoggingFactory com.codahale.metrics.MetricRegistry java.lang.String ch.qos.logback.classic.Logger io.dropwizard.logging.filter.LevelFilterFactory io.dropwizard.logging.async.AsyncAppenderFactory io.dropwizard.logging.layout.LayoutFactory javax.management.MBeanServer
StackMap stack: javax.management.JMException
astore 8
start local 8 34: new java.lang.RuntimeException
dup
aload 8
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 8 35: StackMap locals:
StackMap stack: java.lang.Throwable
astore 9
36: getstatic io.dropwizard.logging.DefaultLoggingFactory.MBEAN_REGISTRATION_LOCK:Ljava/util/concurrent/locks/ReentrantLock;
invokevirtual java.util.concurrent.locks.ReentrantLock.unlock:()V
37: aload 9
athrow
38: StackMap locals:
StackMap stack:
getstatic io.dropwizard.logging.DefaultLoggingFactory.MBEAN_REGISTRATION_LOCK:Ljava/util/concurrent/locks/ReentrantLock;
invokevirtual java.util.concurrent.locks.ReentrantLock.unlock:()V
39: aload 0
aload 3
aload 1
invokevirtual io.dropwizard.logging.DefaultLoggingFactory.configureInstrumentation:(Lch/qos/logback/classic/Logger;Lcom/codahale/metrics/MetricRegistry;)V
40: return
end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 41 0 this Lio/dropwizard/logging/DefaultLoggingFactory;
0 41 1 metricRegistry Lcom/codahale/metrics/MetricRegistry;
0 41 2 name Ljava/lang/String;
3 4 3 root Lch/qos/logback/classic/Logger;
7 41 3 root Lch/qos/logback/classic/Logger;
10 41 4 levelFilterFactory Lio/dropwizard/logging/filter/LevelFilterFactory<Lch/qos/logback/classic/spi/ILoggingEvent;>;
11 41 5 asyncAppenderFactory Lio/dropwizard/logging/async/AsyncAppenderFactory<Lch/qos/logback/classic/spi/ILoggingEvent;>;
12 41 6 layoutFactory Lio/dropwizard/logging/layout/LayoutFactory<Lch/qos/logback/classic/spi/ILoggingEvent;>;
14 15 7 output Lio/dropwizard/logging/AppenderFactory<Lch/qos/logback/classic/spi/ILoggingEvent;>;
24 41 7 server Ljavax/management/MBeanServer;
26 32 8 objectName Ljavax/management/ObjectName;
34 35 8 e Ljavax/management/JMException;
Exception table:
from to target type
2 4 4 any
17 19 19 any
25 32 33 Class javax.management.MalformedObjectNameException
25 32 33 Class javax.management.InstanceAlreadyExistsException
25 32 33 Class javax.management.NotCompliantMBeanException
25 32 33 Class javax.management.MBeanRegistrationException
25 35 35 any
MethodParameters:
Name Flags
metricRegistry
name
public void stop();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=6, args_size=1
start local 0 0: getstatic io.dropwizard.logging.DefaultLoggingFactory.CHANGE_LOGGER_CONTEXT_LOCK:Ljava/util/concurrent/locks/ReentrantLock;
invokevirtual java.util.concurrent.locks.ReentrantLock.lock:()V
1: aload 0
getfield io.dropwizard.logging.DefaultLoggingFactory.loggerContext:Lch/qos/logback/classic/LoggerContext;
ldc "ROOT"
invokevirtual ch.qos.logback.classic.LoggerContext.getLogger:(Ljava/lang/String;)Lch/qos/logback/classic/Logger;
astore 1
start local 1 2: aload 1
invokevirtual ch.qos.logback.classic.Logger.iteratorForAppenders:()Ljava/util/Iterator;
invokestatic io.dropwizard.util.Lists.of:(Ljava/util/Iterator;)Ljava/util/List;
astore 2
start local 2 3: aload 2
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 10
StackMap locals: io.dropwizard.logging.DefaultLoggingFactory ch.qos.logback.classic.Logger java.util.List top java.util.Iterator
StackMap stack:
4: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast ch.qos.logback.core.Appender
astore 3
start local 3 5: aload 3
instanceof ch.qos.logback.core.AsyncAppenderBase
ifeq 8
6: aload 0
aload 3
checkcast ch.qos.logback.core.AsyncAppenderBase
invokevirtual io.dropwizard.logging.DefaultLoggingFactory.flushAppender:(Lch/qos/logback/core/AsyncAppenderBase;)V
7: goto 10
StackMap locals: io.dropwizard.logging.DefaultLoggingFactory ch.qos.logback.classic.Logger java.util.List ch.qos.logback.core.Appender java.util.Iterator
StackMap stack:
8: aload 3
instanceof io.dropwizard.logback.AsyncAppenderBaseProxy
ifeq 10
9: aload 0
aload 3
checkcast io.dropwizard.logback.AsyncAppenderBaseProxy
invokeinterface io.dropwizard.logback.AsyncAppenderBaseProxy.getAppender:()Lch/qos/logback/core/AsyncAppenderBase;
invokevirtual io.dropwizard.logging.DefaultLoggingFactory.flushAppender:(Lch/qos/logback/core/AsyncAppenderBase;)V
end local 3 10: StackMap locals: io.dropwizard.logging.DefaultLoggingFactory ch.qos.logback.classic.Logger java.util.List top java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
end local 2 end local 1 11: goto 18
StackMap locals: io.dropwizard.logging.DefaultLoggingFactory
StackMap stack: java.lang.InterruptedException
12: pop
13: invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
invokevirtual java.lang.Thread.interrupt:()V
14: getstatic io.dropwizard.logging.DefaultLoggingFactory.CHANGE_LOGGER_CONTEXT_LOCK:Ljava/util/concurrent/locks/ReentrantLock;
invokevirtual java.util.concurrent.locks.ReentrantLock.unlock:()V
goto 19
15: StackMap locals:
StackMap stack: java.lang.Throwable
astore 5
16: getstatic io.dropwizard.logging.DefaultLoggingFactory.CHANGE_LOGGER_CONTEXT_LOCK:Ljava/util/concurrent/locks/ReentrantLock;
invokevirtual java.util.concurrent.locks.ReentrantLock.unlock:()V
17: aload 5
athrow
18: StackMap locals:
StackMap stack:
getstatic io.dropwizard.logging.DefaultLoggingFactory.CHANGE_LOGGER_CONTEXT_LOCK:Ljava/util/concurrent/locks/ReentrantLock;
invokevirtual java.util.concurrent.locks.ReentrantLock.unlock:()V
19: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lio/dropwizard/logging/DefaultLoggingFactory;
2 11 1 logger Lch/qos/logback/classic/Logger;
3 11 2 appenders Ljava/util/List<Lch/qos/logback/core/Appender<Lch/qos/logback/classic/spi/ILoggingEvent;>;>;
5 10 3 appender Lch/qos/logback/core/Appender<Lch/qos/logback/classic/spi/ILoggingEvent;>;
Exception table:
from to target type
1 11 12 Class java.lang.InterruptedException
1 14 15 any
public void reset();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=1
start local 0 0: getstatic io.dropwizard.logging.DefaultLoggingFactory.CHANGE_LOGGER_CONTEXT_LOCK:Ljava/util/concurrent/locks/ReentrantLock;
invokevirtual java.util.concurrent.locks.ReentrantLock.lock:()V
1: aload 0
getfield io.dropwizard.logging.DefaultLoggingFactory.loggerContext:Lch/qos/logback/classic/LoggerContext;
invokevirtual ch.qos.logback.classic.LoggerContext.stop:()V
2: aload 0
getfield io.dropwizard.logging.DefaultLoggingFactory.loggerContext:Lch/qos/logback/classic/LoggerContext;
ldc "ROOT"
invokevirtual ch.qos.logback.classic.LoggerContext.getLogger:(Ljava/lang/String;)Lch/qos/logback/classic/Logger;
astore 1
start local 1 3: aload 1
invokevirtual ch.qos.logback.classic.Logger.detachAndStopAllAppenders:()V
4: new io.dropwizard.logging.DropwizardLayout
dup
aload 0
getfield io.dropwizard.logging.DefaultLoggingFactory.loggerContext:Lch/qos/logback/classic/LoggerContext;
invokestatic java.util.TimeZone.getDefault:()Ljava/util/TimeZone;
invokespecial io.dropwizard.logging.DropwizardLayout.<init>:(Lch/qos/logback/classic/LoggerContext;Ljava/util/TimeZone;)V
astore 2
start local 2 5: aload 2
invokevirtual io.dropwizard.logging.DropwizardLayout.start:()V
6: new ch.qos.logback.core.encoder.LayoutWrappingEncoder
dup
invokespecial ch.qos.logback.core.encoder.LayoutWrappingEncoder.<init>:()V
astore 3
start local 3 7: aload 3
aload 2
invokevirtual ch.qos.logback.core.encoder.LayoutWrappingEncoder.setLayout:(Lch/qos/logback/core/Layout;)V
8: new ch.qos.logback.core.ConsoleAppender
dup
invokespecial ch.qos.logback.core.ConsoleAppender.<init>:()V
astore 4
start local 4 9: aload 4
new io.dropwizard.logging.filter.ThresholdLevelFilterFactory
dup
invokespecial io.dropwizard.logging.filter.ThresholdLevelFilterFactory.<init>:()V
getstatic ch.qos.logback.classic.Level.INFO:Lch/qos/logback/classic/Level;
invokevirtual io.dropwizard.logging.filter.ThresholdLevelFilterFactory.build:(Lch/qos/logback/classic/Level;)Lch/qos/logback/core/filter/Filter;
invokevirtual ch.qos.logback.core.ConsoleAppender.addFilter:(Lch/qos/logback/core/filter/Filter;)V
10: aload 4
aload 3
invokevirtual ch.qos.logback.core.ConsoleAppender.setEncoder:(Lch/qos/logback/core/encoder/Encoder;)V
11: aload 4
aload 0
getfield io.dropwizard.logging.DefaultLoggingFactory.loggerContext:Lch/qos/logback/classic/LoggerContext;
invokevirtual ch.qos.logback.core.ConsoleAppender.setContext:(Lch/qos/logback/core/Context;)V
12: aload 4
invokevirtual ch.qos.logback.core.ConsoleAppender.start:()V
13: aload 1
aload 4
invokevirtual ch.qos.logback.classic.Logger.addAppender:(Lch/qos/logback/core/Appender;)V
14: aload 0
getfield io.dropwizard.logging.DefaultLoggingFactory.loggerContext:Lch/qos/logback/classic/LoggerContext;
invokevirtual ch.qos.logback.classic.LoggerContext.start:()V
end local 4 end local 3 end local 2 end local 1 15: goto 19
StackMap locals:
StackMap stack: java.lang.Throwable
16: astore 5
17: getstatic io.dropwizard.logging.DefaultLoggingFactory.CHANGE_LOGGER_CONTEXT_LOCK:Ljava/util/concurrent/locks/ReentrantLock;
invokevirtual java.util.concurrent.locks.ReentrantLock.unlock:()V
18: aload 5
athrow
19: StackMap locals:
StackMap stack:
getstatic io.dropwizard.logging.DefaultLoggingFactory.CHANGE_LOGGER_CONTEXT_LOCK:Ljava/util/concurrent/locks/ReentrantLock;
invokevirtual java.util.concurrent.locks.ReentrantLock.unlock:()V
20: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lio/dropwizard/logging/DefaultLoggingFactory;
3 15 1 logger Lch/qos/logback/classic/Logger;
5 15 2 formatter Lio/dropwizard/logging/DropwizardLayout;
7 15 3 layoutEncoder Lch/qos/logback/core/encoder/LayoutWrappingEncoder<Lch/qos/logback/classic/spi/ILoggingEvent;>;
9 15 4 consoleAppender Lch/qos/logback/core/ConsoleAppender<Lch/qos/logback/classic/spi/ILoggingEvent;>;
Exception table:
from to target type
1 16 16 any
private void flushAppender(ch.qos.logback.core.AsyncAppenderBase<?>);
descriptor: (Lch/qos/logback/core/AsyncAppenderBase;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: goto 4
2: StackMap locals: int
StackMap stack:
ldc 100
invokestatic java.lang.Thread.sleep:(J)V
3: iinc 2 100
4: StackMap locals:
StackMap stack:
iload 2
aload 1
invokevirtual ch.qos.logback.core.AsyncAppenderBase.getMaxFlushTime:()I
if_icmpge 5
aload 1
invokevirtual ch.qos.logback.core.AsyncAppenderBase.getNumberOfElementsInQueue:()I
ifgt 2
5: StackMap locals:
StackMap stack:
aload 1
invokevirtual ch.qos.logback.core.AsyncAppenderBase.getNumberOfElementsInQueue:()I
ifle 7
6: aload 1
new java.lang.StringBuilder
dup
aload 1
invokevirtual ch.qos.logback.core.AsyncAppenderBase.getNumberOfElementsInQueue:()I
invokestatic java.lang.String.valueOf:(I)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " events may be discarded"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual ch.qos.logback.core.AsyncAppenderBase.addWarn:(Ljava/lang/String;)V
7: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lio/dropwizard/logging/DefaultLoggingFactory;
0 8 1 appender Lch/qos/logback/core/AsyncAppenderBase<*>;
1 8 2 timeWaiting I
Exceptions:
throws java.lang.InterruptedException
Signature: (Lch/qos/logback/core/AsyncAppenderBase<*>;)V
MethodParameters:
Name Flags
appender
private void configureInstrumentation(ch.qos.logback.classic.Logger, com.codahale.metrics.MetricRegistry);
descriptor: (Lch/qos/logback/classic/Logger;Lcom/codahale/metrics/MetricRegistry;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: new com.codahale.metrics.logback.InstrumentedAppender
dup
aload 2
invokespecial com.codahale.metrics.logback.InstrumentedAppender.<init>:(Lcom/codahale/metrics/MetricRegistry;)V
astore 3
start local 3 1: aload 3
aload 0
getfield io.dropwizard.logging.DefaultLoggingFactory.loggerContext:Lch/qos/logback/classic/LoggerContext;
invokevirtual com.codahale.metrics.logback.InstrumentedAppender.setContext:(Lch/qos/logback/core/Context;)V
2: aload 3
invokevirtual com.codahale.metrics.logback.InstrumentedAppender.start:()V
3: aload 1
aload 3
invokevirtual ch.qos.logback.classic.Logger.addAppender:(Lch/qos/logback/core/Appender;)V
4: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/dropwizard/logging/DefaultLoggingFactory;
0 5 1 root Lch/qos/logback/classic/Logger;
0 5 2 metricRegistry Lcom/codahale/metrics/MetricRegistry;
1 5 3 appender Lcom/codahale/metrics/logback/InstrumentedAppender;
MethodParameters:
Name Flags
root
metricRegistry
private ch.qos.logback.classic.Logger configureLoggers(java.lang.String);
descriptor: (Ljava/lang/String;)Lch/qos/logback/classic/Logger;
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=14, args_size=2
start local 0 start local 1 0: aload 0
getfield io.dropwizard.logging.DefaultLoggingFactory.loggerContext:Lch/qos/logback/classic/LoggerContext;
ldc "ROOT"
invokevirtual ch.qos.logback.classic.LoggerContext.getLogger:(Ljava/lang/String;)Lch/qos/logback/classic/Logger;
astore 2
start local 2 1: aload 0
getfield io.dropwizard.logging.DefaultLoggingFactory.loggerContext:Lch/qos/logback/classic/LoggerContext;
invokevirtual ch.qos.logback.classic.LoggerContext.reset:()V
2: new ch.qos.logback.classic.jul.LevelChangePropagator
dup
invokespecial ch.qos.logback.classic.jul.LevelChangePropagator.<init>:()V
astore 3
start local 3 3: aload 3
aload 0
getfield io.dropwizard.logging.DefaultLoggingFactory.loggerContext:Lch/qos/logback/classic/LoggerContext;
invokevirtual ch.qos.logback.classic.jul.LevelChangePropagator.setContext:(Lch/qos/logback/core/Context;)V
4: aload 3
iconst_1
invokevirtual ch.qos.logback.classic.jul.LevelChangePropagator.setResetJUL:(Z)V
5: aload 0
getfield io.dropwizard.logging.DefaultLoggingFactory.loggerContext:Lch/qos/logback/classic/LoggerContext;
aload 3
invokevirtual ch.qos.logback.classic.LoggerContext.addListener:(Lch/qos/logback/classic/spi/LoggerContextListener;)V
6: aload 2
aload 0
getfield io.dropwizard.logging.DefaultLoggingFactory.level:Ljava/lang/String;
invokestatic io.dropwizard.logging.DefaultLoggingFactory.toLevel:(Ljava/lang/String;)Lch/qos/logback/classic/Level;
invokevirtual ch.qos.logback.classic.Logger.setLevel:(Lch/qos/logback/classic/Level;)V
7: new io.dropwizard.logging.filter.ThresholdLevelFilterFactory
dup
invokespecial io.dropwizard.logging.filter.ThresholdLevelFilterFactory.<init>:()V
astore 4
start local 4 8: new io.dropwizard.logging.async.AsyncLoggingEventAppenderFactory
dup
invokespecial io.dropwizard.logging.async.AsyncLoggingEventAppenderFactory.<init>:()V
astore 5
start local 5 9: new io.dropwizard.logging.layout.DropwizardLayoutFactory
dup
invokespecial io.dropwizard.logging.layout.DropwizardLayoutFactory.<init>:()V
astore 6
start local 6 10: aload 0
getfield io.dropwizard.logging.DefaultLoggingFactory.loggers:Ljava/util/Map;
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 8
goto 30
StackMap locals: io.dropwizard.logging.DefaultLoggingFactory java.lang.String ch.qos.logback.classic.Logger ch.qos.logback.classic.jul.LevelChangePropagator io.dropwizard.logging.filter.LevelFilterFactory io.dropwizard.logging.async.AsyncAppenderFactory io.dropwizard.logging.layout.LayoutFactory top java.util.Iterator
StackMap stack:
11: aload 8
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 7
start local 7 12: aload 0
getfield io.dropwizard.logging.DefaultLoggingFactory.loggerContext:Lch/qos/logback/classic/LoggerContext;
aload 7
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.String
invokevirtual ch.qos.logback.classic.LoggerContext.getLogger:(Ljava/lang/String;)Lch/qos/logback/classic/Logger;
astore 9
start local 9 13: aload 7
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast com.fasterxml.jackson.databind.JsonNode
astore 10
start local 10 14: aload 10
invokevirtual com.fasterxml.jackson.databind.JsonNode.isTextual:()Z
ifne 15
aload 10
invokevirtual com.fasterxml.jackson.databind.JsonNode.isBoolean:()Z
ifeq 17
15: StackMap locals: io.dropwizard.logging.DefaultLoggingFactory java.lang.String ch.qos.logback.classic.Logger ch.qos.logback.classic.jul.LevelChangePropagator io.dropwizard.logging.filter.LevelFilterFactory io.dropwizard.logging.async.AsyncAppenderFactory io.dropwizard.logging.layout.LayoutFactory java.util.Map$Entry java.util.Iterator ch.qos.logback.classic.Logger com.fasterxml.jackson.databind.JsonNode
StackMap stack:
aload 9
aload 10
invokevirtual com.fasterxml.jackson.databind.JsonNode.asText:()Ljava/lang/String;
invokestatic io.dropwizard.logging.DefaultLoggingFactory.toLevel:(Ljava/lang/String;)Lch/qos/logback/classic/Level;
invokevirtual ch.qos.logback.classic.Logger.setLevel:(Lch/qos/logback/classic/Level;)V
16: goto 30
StackMap locals:
StackMap stack:
17: aload 10
invokevirtual com.fasterxml.jackson.databind.JsonNode.isObject:()Z
ifeq 29
18: invokestatic io.dropwizard.jackson.Jackson.newObjectMapper:()Lcom/fasterxml/jackson/databind/ObjectMapper;
aload 10
ldc Lio/dropwizard/logging/LoggerConfiguration;
invokevirtual com.fasterxml.jackson.databind.ObjectMapper.treeToValue:(Lcom/fasterxml/jackson/core/TreeNode;Ljava/lang/Class;)Ljava/lang/Object;
checkcast io.dropwizard.logging.LoggerConfiguration
astore 11
start local 11 19: goto 22
end local 11 StackMap locals:
StackMap stack: com.fasterxml.jackson.core.JsonProcessingException
20: astore 12
start local 12 21: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Wrong format of logger '"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 7
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.String
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "'"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 12
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 12 start local 11 22: StackMap locals: io.dropwizard.logging.LoggerConfiguration
StackMap stack:
aload 9
aload 11
invokevirtual io.dropwizard.logging.LoggerConfiguration.getLevel:()Ljava/lang/String;
invokestatic io.dropwizard.logging.DefaultLoggingFactory.toLevel:(Ljava/lang/String;)Lch/qos/logback/classic/Level;
invokevirtual ch.qos.logback.classic.Logger.setLevel:(Lch/qos/logback/classic/Level;)V
23: aload 9
aload 11
invokevirtual io.dropwizard.logging.LoggerConfiguration.isAdditive:()Z
invokevirtual ch.qos.logback.classic.Logger.setAdditive:(Z)V
24: aload 11
invokevirtual io.dropwizard.logging.LoggerConfiguration.getAppenders:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 13
goto 27
StackMap locals: io.dropwizard.logging.DefaultLoggingFactory java.lang.String ch.qos.logback.classic.Logger ch.qos.logback.classic.jul.LevelChangePropagator io.dropwizard.logging.filter.LevelFilterFactory io.dropwizard.logging.async.AsyncAppenderFactory io.dropwizard.logging.layout.LayoutFactory java.util.Map$Entry java.util.Iterator ch.qos.logback.classic.Logger com.fasterxml.jackson.databind.JsonNode io.dropwizard.logging.LoggerConfiguration top java.util.Iterator
StackMap stack:
25: aload 13
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast io.dropwizard.logging.AppenderFactory
astore 12
start local 12 26: aload 9
aload 12
aload 0
getfield io.dropwizard.logging.DefaultLoggingFactory.loggerContext:Lch/qos/logback/classic/LoggerContext;
aload 1
aload 6
aload 4
aload 5
invokeinterface io.dropwizard.logging.AppenderFactory.build:(Lch/qos/logback/classic/LoggerContext;Ljava/lang/String;Lio/dropwizard/logging/layout/LayoutFactory;Lio/dropwizard/logging/filter/LevelFilterFactory;Lio/dropwizard/logging/async/AsyncAppenderFactory;)Lch/qos/logback/core/Appender;
invokevirtual ch.qos.logback.classic.Logger.addAppender:(Lch/qos/logback/core/Appender;)V
end local 12 27: StackMap locals:
StackMap stack:
aload 13
invokeinterface java.util.Iterator.hasNext:()Z
ifne 25
end local 11 28: goto 30
29: StackMap locals: io.dropwizard.logging.DefaultLoggingFactory java.lang.String ch.qos.logback.classic.Logger ch.qos.logback.classic.jul.LevelChangePropagator io.dropwizard.logging.filter.LevelFilterFactory io.dropwizard.logging.async.AsyncAppenderFactory io.dropwizard.logging.layout.LayoutFactory java.util.Map$Entry java.util.Iterator ch.qos.logback.classic.Logger com.fasterxml.jackson.databind.JsonNode
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Unsupported format of logger '"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 7
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.String
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "'"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 10 end local 9 end local 7 30: StackMap locals: io.dropwizard.logging.DefaultLoggingFactory java.lang.String ch.qos.logback.classic.Logger ch.qos.logback.classic.jul.LevelChangePropagator io.dropwizard.logging.filter.LevelFilterFactory io.dropwizard.logging.async.AsyncAppenderFactory io.dropwizard.logging.layout.LayoutFactory top java.util.Iterator
StackMap stack:
aload 8
invokeinterface java.util.Iterator.hasNext:()Z
ifne 11
31: aload 2
areturn
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 32 0 this Lio/dropwizard/logging/DefaultLoggingFactory;
0 32 1 name Ljava/lang/String;
1 32 2 root Lch/qos/logback/classic/Logger;
3 32 3 propagator Lch/qos/logback/classic/jul/LevelChangePropagator;
8 32 4 levelFilterFactory Lio/dropwizard/logging/filter/LevelFilterFactory<Lch/qos/logback/classic/spi/ILoggingEvent;>;
9 32 5 asyncAppenderFactory Lio/dropwizard/logging/async/AsyncAppenderFactory<Lch/qos/logback/classic/spi/ILoggingEvent;>;
10 32 6 layoutFactory Lio/dropwizard/logging/layout/LayoutFactory<Lch/qos/logback/classic/spi/ILoggingEvent;>;
12 30 7 entry Ljava/util/Map$Entry<Ljava/lang/String;Lcom/fasterxml/jackson/databind/JsonNode;>;
13 30 9 logger Lch/qos/logback/classic/Logger;
14 30 10 jsonNode Lcom/fasterxml/jackson/databind/JsonNode;
19 20 11 configuration Lio/dropwizard/logging/LoggerConfiguration;
22 28 11 configuration Lio/dropwizard/logging/LoggerConfiguration;
21 22 12 e Lcom/fasterxml/jackson/core/JsonProcessingException;
26 27 12 appender Lio/dropwizard/logging/AppenderFactory<Lch/qos/logback/classic/spi/ILoggingEvent;>;
Exception table:
from to target type
18 19 20 Class com.fasterxml.jackson.core.JsonProcessingException
MethodParameters:
Name Flags
name
static ch.qos.logback.classic.Level toLevel(java.lang.String);
descriptor: (Ljava/lang/String;)Lch/qos/logback/classic/Level;
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: ldc "false"
aload 0
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 2
1: getstatic ch.qos.logback.classic.Level.OFF:Lch/qos/logback/classic/Level;
areturn
2: StackMap locals:
StackMap stack:
ldc "true"
aload 0
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 4
3: getstatic ch.qos.logback.classic.Level.ALL:Lch/qos/logback/classic/Level;
areturn
4: StackMap locals:
StackMap stack:
aload 0
getstatic ch.qos.logback.classic.Level.INFO:Lch/qos/logback/classic/Level;
invokestatic ch.qos.logback.classic.Level.toLevel:(Ljava/lang/String;Lch/qos/logback/classic/Level;)Lch/qos/logback/classic/Level;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 text Ljava/lang/String;
RuntimeVisibleTypeAnnotations:
METHOD_FORMAL_PARAMETER
javax.annotation.Nullable()
RuntimeVisibleParameterAnnotations:
0:
javax.annotation.Nullable()
MethodParameters:
Name Flags
text
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "DefaultLoggingFactory{level="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
1: aload 0
getfield io.dropwizard.logging.DefaultLoggingFactory.level:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
2: ldc ", loggers="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield io.dropwizard.logging.DefaultLoggingFactory.loggers:Ljava/util/Map;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
3: ldc ", appenders="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield io.dropwizard.logging.DefaultLoggingFactory.appenders:Ljava/util/List;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
4: bipush 125
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
5: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/dropwizard/logging/DefaultLoggingFactory;
}
SourceFile: "DefaultLoggingFactory.java"
InnerClasses:
public abstract Entry = java.util.Map$Entry of java.util.Map
RuntimeVisibleAnnotations:
com.fasterxml.jackson.annotation.JsonTypeName(value = "default")