public class org.springframework.boot.logging.java.JavaLoggingSystem extends org.springframework.boot.logging.AbstractLoggingSystem
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.springframework.boot.logging.java.JavaLoggingSystem
super_class: org.springframework.boot.logging.AbstractLoggingSystem
{
private static final org.springframework.boot.logging.AbstractLoggingSystem$LogLevels<java.util.logging.Level> LEVELS;
descriptor: Lorg/springframework/boot/logging/AbstractLoggingSystem$LogLevels;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Lorg/springframework/boot/logging/AbstractLoggingSystem$LogLevels<Ljava/util/logging/Level;>;
private final java.util.Set<java.util.logging.Logger> configuredLoggers;
descriptor: Ljava/util/Set;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Set<Ljava/util/logging/Logger;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: new org.springframework.boot.logging.AbstractLoggingSystem$LogLevels
dup
invokespecial org.springframework.boot.logging.AbstractLoggingSystem$LogLevels.<init>:()V
putstatic org.springframework.boot.logging.java.JavaLoggingSystem.LEVELS:Lorg/springframework/boot/logging/AbstractLoggingSystem$LogLevels;
1: getstatic org.springframework.boot.logging.java.JavaLoggingSystem.LEVELS:Lorg/springframework/boot/logging/AbstractLoggingSystem$LogLevels;
getstatic org.springframework.boot.logging.LogLevel.TRACE:Lorg/springframework/boot/logging/LogLevel;
getstatic java.util.logging.Level.FINEST:Ljava/util/logging/Level;
invokevirtual org.springframework.boot.logging.AbstractLoggingSystem$LogLevels.map:(Lorg/springframework/boot/logging/LogLevel;Ljava/lang/Object;)V
2: getstatic org.springframework.boot.logging.java.JavaLoggingSystem.LEVELS:Lorg/springframework/boot/logging/AbstractLoggingSystem$LogLevels;
getstatic org.springframework.boot.logging.LogLevel.DEBUG:Lorg/springframework/boot/logging/LogLevel;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
invokevirtual org.springframework.boot.logging.AbstractLoggingSystem$LogLevels.map:(Lorg/springframework/boot/logging/LogLevel;Ljava/lang/Object;)V
3: getstatic org.springframework.boot.logging.java.JavaLoggingSystem.LEVELS:Lorg/springframework/boot/logging/AbstractLoggingSystem$LogLevels;
getstatic org.springframework.boot.logging.LogLevel.INFO:Lorg/springframework/boot/logging/LogLevel;
getstatic java.util.logging.Level.INFO:Ljava/util/logging/Level;
invokevirtual org.springframework.boot.logging.AbstractLoggingSystem$LogLevels.map:(Lorg/springframework/boot/logging/LogLevel;Ljava/lang/Object;)V
4: getstatic org.springframework.boot.logging.java.JavaLoggingSystem.LEVELS:Lorg/springframework/boot/logging/AbstractLoggingSystem$LogLevels;
getstatic org.springframework.boot.logging.LogLevel.WARN:Lorg/springframework/boot/logging/LogLevel;
getstatic java.util.logging.Level.WARNING:Ljava/util/logging/Level;
invokevirtual org.springframework.boot.logging.AbstractLoggingSystem$LogLevels.map:(Lorg/springframework/boot/logging/LogLevel;Ljava/lang/Object;)V
5: getstatic org.springframework.boot.logging.java.JavaLoggingSystem.LEVELS:Lorg/springframework/boot/logging/AbstractLoggingSystem$LogLevels;
getstatic org.springframework.boot.logging.LogLevel.ERROR:Lorg/springframework/boot/logging/LogLevel;
getstatic java.util.logging.Level.SEVERE:Ljava/util/logging/Level;
invokevirtual org.springframework.boot.logging.AbstractLoggingSystem$LogLevels.map:(Lorg/springframework/boot/logging/LogLevel;Ljava/lang/Object;)V
6: getstatic org.springframework.boot.logging.java.JavaLoggingSystem.LEVELS:Lorg/springframework/boot/logging/AbstractLoggingSystem$LogLevels;
getstatic org.springframework.boot.logging.LogLevel.FATAL:Lorg/springframework/boot/logging/LogLevel;
getstatic java.util.logging.Level.SEVERE:Ljava/util/logging/Level;
invokevirtual org.springframework.boot.logging.AbstractLoggingSystem$LogLevels.map:(Lorg/springframework/boot/logging/LogLevel;Ljava/lang/Object;)V
7: getstatic org.springframework.boot.logging.java.JavaLoggingSystem.LEVELS:Lorg/springframework/boot/logging/AbstractLoggingSystem$LogLevels;
getstatic org.springframework.boot.logging.LogLevel.OFF:Lorg/springframework/boot/logging/LogLevel;
getstatic java.util.logging.Level.OFF:Ljava/util/logging/Level;
invokevirtual org.springframework.boot.logging.AbstractLoggingSystem$LogLevels.map:(Lorg/springframework/boot/logging/LogLevel;Ljava/lang/Object;)V
8: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(java.lang.ClassLoader);
descriptor: (Ljava/lang/ClassLoader;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial org.springframework.boot.logging.AbstractLoggingSystem.<init>:(Ljava/lang/ClassLoader;)V
1: aload 0
new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
invokestatic java.util.Collections.synchronizedSet:(Ljava/util/Set;)Ljava/util/Set;
putfield org.springframework.boot.logging.java.JavaLoggingSystem.configuredLoggers:Ljava/util/Set;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/boot/logging/java/JavaLoggingSystem;
0 3 1 classLoader Ljava/lang/ClassLoader;
MethodParameters:
Name Flags
classLoader
protected java.lang.String[] getStandardConfigLocations();
descriptor: ()[Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=1, args_size=1
start local 0 0: iconst_1
anewarray java.lang.String
dup
iconst_0
ldc "logging.properties"
aastore
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/boot/logging/java/JavaLoggingSystem;
public void beforeInitialize();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.springframework.boot.logging.AbstractLoggingSystem.beforeInitialize:()V
1: ldc ""
invokestatic java.util.logging.Logger.getLogger:(Ljava/lang/String;)Ljava/util/logging/Logger;
getstatic java.util.logging.Level.SEVERE:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.setLevel:(Ljava/util/logging/Level;)V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/boot/logging/java/JavaLoggingSystem;
protected void loadDefaults(org.springframework.boot.logging.LoggingInitializationContext, org.springframework.boot.logging.LogFile);
descriptor: (Lorg/springframework/boot/logging/LoggingInitializationContext;Lorg/springframework/boot/logging/LogFile;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
ifnull 3
1: aload 0
aload 0
ldc "logging-file.properties"
invokevirtual org.springframework.boot.logging.java.JavaLoggingSystem.getPackagedConfigFile:(Ljava/lang/String;)Ljava/lang/String;
aload 2
invokevirtual org.springframework.boot.logging.java.JavaLoggingSystem.loadConfiguration:(Ljava/lang/String;Lorg/springframework/boot/logging/LogFile;)V
2: goto 4
3: StackMap locals:
StackMap stack:
aload 0
aload 0
ldc "logging.properties"
invokevirtual org.springframework.boot.logging.java.JavaLoggingSystem.getPackagedConfigFile:(Ljava/lang/String;)Ljava/lang/String;
aload 2
invokevirtual org.springframework.boot.logging.java.JavaLoggingSystem.loadConfiguration:(Ljava/lang/String;Lorg/springframework/boot/logging/LogFile;)V
4: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/springframework/boot/logging/java/JavaLoggingSystem;
0 5 1 initializationContext Lorg/springframework/boot/logging/LoggingInitializationContext;
0 5 2 logFile Lorg/springframework/boot/logging/LogFile;
MethodParameters:
Name Flags
initializationContext
logFile
protected void loadConfiguration(org.springframework.boot.logging.LoggingInitializationContext, java.lang.String, org.springframework.boot.logging.LogFile);
descriptor: (Lorg/springframework/boot/logging/LoggingInitializationContext;Ljava/lang/String;Lorg/springframework/boot/logging/LogFile;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 2
aload 3
invokevirtual org.springframework.boot.logging.java.JavaLoggingSystem.loadConfiguration:(Ljava/lang/String;Lorg/springframework/boot/logging/LogFile;)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/boot/logging/java/JavaLoggingSystem;
0 2 1 initializationContext Lorg/springframework/boot/logging/LoggingInitializationContext;
0 2 2 location Ljava/lang/String;
0 2 3 logFile Lorg/springframework/boot/logging/LogFile;
MethodParameters:
Name Flags
initializationContext
location
logFile
protected void loadConfiguration(java.lang.String, org.springframework.boot.logging.LogFile);
descriptor: (Ljava/lang/String;Lorg/springframework/boot/logging/LogFile;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ldc "Location must not be null"
invokestatic org.springframework.util.Assert.notNull:(Ljava/lang/Object;Ljava/lang/String;)V
1: new java.io.InputStreamReader
dup
aload 1
invokestatic org.springframework.util.ResourceUtils.getURL:(Ljava/lang/String;)Ljava/net/URL;
invokevirtual java.net.URL.openStream:()Ljava/io/InputStream;
invokespecial java.io.InputStreamReader.<init>:(Ljava/io/InputStream;)V
invokestatic org.springframework.util.FileCopyUtils.copyToString:(Ljava/io/Reader;)Ljava/lang/String;
2: astore 3
start local 3 3: aload 2
ifnull 5
4: aload 3
ldc "${LOG_FILE}"
aload 2
invokevirtual org.springframework.boot.logging.LogFile.toString:()Ljava/lang/String;
invokestatic org.springframework.util.StringUtils.cleanPath:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.String.replace:(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
astore 3
5: StackMap locals: java.lang.String
StackMap stack:
invokestatic java.util.logging.LogManager.getLogManager:()Ljava/util/logging/LogManager;
new java.io.ByteArrayInputStream
dup
aload 3
invokevirtual java.lang.String.getBytes:()[B
invokespecial java.io.ByteArrayInputStream.<init>:([B)V
invokevirtual java.util.logging.LogManager.readConfiguration:(Ljava/io/InputStream;)V
end local 3 6: goto 9
7: StackMap locals: org.springframework.boot.logging.java.JavaLoggingSystem java.lang.String org.springframework.boot.logging.LogFile
StackMap stack: java.lang.Exception
astore 3
start local 3 8: new java.lang.IllegalStateException
dup
new java.lang.StringBuilder
dup
ldc "Could not initialize Java logging from "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 3
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 3 9: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/springframework/boot/logging/java/JavaLoggingSystem;
0 10 1 location Ljava/lang/String;
0 10 2 logFile Lorg/springframework/boot/logging/LogFile;
3 6 3 configuration Ljava/lang/String;
8 9 3 ex Ljava/lang/Exception;
Exception table:
from to target type
1 6 7 Class java.lang.Exception
MethodParameters:
Name Flags
location
logFile
public java.util.Set<org.springframework.boot.logging.LogLevel> getSupportedLogLevels();
descriptor: ()Ljava/util/Set;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic org.springframework.boot.logging.java.JavaLoggingSystem.LEVELS:Lorg/springframework/boot/logging/AbstractLoggingSystem$LogLevels;
invokevirtual org.springframework.boot.logging.AbstractLoggingSystem$LogLevels.getSupported:()Ljava/util/Set;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/boot/logging/java/JavaLoggingSystem;
Signature: ()Ljava/util/Set<Lorg/springframework/boot/logging/LogLevel;>;
public void setLogLevel(java.lang.String, org.springframework.boot.logging.LogLevel);
descriptor: (Ljava/lang/String;Lorg/springframework/boot/logging/LogLevel;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnull 1
ldc "ROOT"
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 2
1: StackMap locals:
StackMap stack:
ldc ""
astore 1
2: StackMap locals:
StackMap stack:
aload 1
invokestatic java.util.logging.Logger.getLogger:(Ljava/lang/String;)Ljava/util/logging/Logger;
astore 3
start local 3 3: aload 3
ifnull 6
4: aload 0
getfield org.springframework.boot.logging.java.JavaLoggingSystem.configuredLoggers:Ljava/util/Set;
aload 3
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
5: aload 3
getstatic org.springframework.boot.logging.java.JavaLoggingSystem.LEVELS:Lorg/springframework/boot/logging/AbstractLoggingSystem$LogLevels;
aload 2
invokevirtual org.springframework.boot.logging.AbstractLoggingSystem$LogLevels.convertSystemToNative:(Lorg/springframework/boot/logging/LogLevel;)Ljava/lang/Object;
checkcast java.util.logging.Level
invokevirtual java.util.logging.Logger.setLevel:(Ljava/util/logging/Level;)V
6: StackMap locals: java.util.logging.Logger
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/springframework/boot/logging/java/JavaLoggingSystem;
0 7 1 loggerName Ljava/lang/String;
0 7 2 level Lorg/springframework/boot/logging/LogLevel;
3 7 3 logger Ljava/util/logging/Logger;
MethodParameters:
Name Flags
loggerName
level
public java.util.List<org.springframework.boot.logging.LoggerConfiguration> getLoggerConfigurations();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 1
start local 1 1: invokestatic java.util.logging.LogManager.getLogManager:()Ljava/util/logging/LogManager;
invokevirtual java.util.logging.LogManager.getLoggerNames:()Ljava/util/Enumeration;
astore 2
start local 2 2: goto 4
3: StackMap locals: java.util.List java.util.Enumeration
StackMap stack:
aload 1
aload 0
aload 2
invokeinterface java.util.Enumeration.nextElement:()Ljava/lang/Object;
checkcast java.lang.String
invokevirtual org.springframework.boot.logging.java.JavaLoggingSystem.getLoggerConfiguration:(Ljava/lang/String;)Lorg/springframework/boot/logging/LoggerConfiguration;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
4: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Enumeration.hasMoreElements:()Z
ifne 3
5: aload 1
getstatic org.springframework.boot.logging.java.JavaLoggingSystem.CONFIGURATION_COMPARATOR:Ljava/util/Comparator;
invokeinterface java.util.List.sort:(Ljava/util/Comparator;)V
6: aload 1
invokestatic java.util.Collections.unmodifiableList:(Ljava/util/List;)Ljava/util/List;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/springframework/boot/logging/java/JavaLoggingSystem;
1 7 1 result Ljava/util/List<Lorg/springframework/boot/logging/LoggerConfiguration;>;
2 7 2 names Ljava/util/Enumeration<Ljava/lang/String;>;
Signature: ()Ljava/util/List<Lorg/springframework/boot/logging/LoggerConfiguration;>;
public org.springframework.boot.logging.LoggerConfiguration getLoggerConfiguration(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/springframework/boot/logging/LoggerConfiguration;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=2
start local 0 start local 1 0: aload 1
invokestatic java.util.logging.Logger.getLogger:(Ljava/lang/String;)Ljava/util/logging/Logger;
astore 2
start local 2 1: aload 2
ifnonnull 3
2: aconst_null
areturn
3: StackMap locals: java.util.logging.Logger
StackMap stack:
getstatic org.springframework.boot.logging.java.JavaLoggingSystem.LEVELS:Lorg/springframework/boot/logging/AbstractLoggingSystem$LogLevels;
aload 2
invokevirtual java.util.logging.Logger.getLevel:()Ljava/util/logging/Level;
invokevirtual org.springframework.boot.logging.AbstractLoggingSystem$LogLevels.convertNativeToSystem:(Ljava/lang/Object;)Lorg/springframework/boot/logging/LogLevel;
astore 3
start local 3 4: getstatic org.springframework.boot.logging.java.JavaLoggingSystem.LEVELS:Lorg/springframework/boot/logging/AbstractLoggingSystem$LogLevels;
aload 0
aload 2
invokevirtual org.springframework.boot.logging.java.JavaLoggingSystem.getEffectiveLevel:(Ljava/util/logging/Logger;)Ljava/util/logging/Level;
invokevirtual org.springframework.boot.logging.AbstractLoggingSystem$LogLevels.convertNativeToSystem:(Ljava/lang/Object;)Lorg/springframework/boot/logging/LogLevel;
astore 4
start local 4 5: aload 2
invokevirtual java.util.logging.Logger.getName:()Ljava/lang/String;
invokestatic org.springframework.util.StringUtils.hasLength:(Ljava/lang/String;)Z
ifeq 6
aload 2
invokevirtual java.util.logging.Logger.getName:()Ljava/lang/String;
goto 7
StackMap locals: org.springframework.boot.logging.LogLevel org.springframework.boot.logging.LogLevel
StackMap stack:
6: ldc "ROOT"
StackMap locals:
StackMap stack: java.lang.String
7: astore 5
start local 5 8: new org.springframework.boot.logging.LoggerConfiguration
dup
aload 5
aload 3
aload 4
invokespecial org.springframework.boot.logging.LoggerConfiguration.<init>:(Ljava/lang/String;Lorg/springframework/boot/logging/LogLevel;Lorg/springframework/boot/logging/LogLevel;)V
areturn
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 9 0 this Lorg/springframework/boot/logging/java/JavaLoggingSystem;
0 9 1 loggerName Ljava/lang/String;
1 9 2 logger Ljava/util/logging/Logger;
4 9 3 level Lorg/springframework/boot/logging/LogLevel;
5 9 4 effectiveLevel Lorg/springframework/boot/logging/LogLevel;
8 9 5 name Ljava/lang/String;
MethodParameters:
Name Flags
loggerName
private java.util.logging.Level getEffectiveLevel(java.util.logging.Logger);
descriptor: (Ljava/util/logging/Logger;)Ljava/util/logging/Level;
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=3, args_size=2
start local 0 start local 1 0: aload 1
astore 2
start local 2 1: goto 3
2: StackMap locals: java.util.logging.Logger
StackMap stack:
aload 2
invokevirtual java.util.logging.Logger.getParent:()Ljava/util/logging/Logger;
astore 2
3: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.util.logging.Logger.getLevel:()Ljava/util/logging/Level;
ifnull 2
4: aload 2
invokevirtual java.util.logging.Logger.getLevel:()Ljava/util/logging/Level;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/springframework/boot/logging/java/JavaLoggingSystem;
0 5 1 root Ljava/util/logging/Logger;
1 5 2 logger Ljava/util/logging/Logger;
MethodParameters:
Name Flags
root
public java.lang.Runnable getShutdownHandler();
descriptor: ()Ljava/lang/Runnable;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: new org.springframework.boot.logging.java.JavaLoggingSystem$ShutdownHandler
dup
invokespecial org.springframework.boot.logging.java.JavaLoggingSystem$ShutdownHandler.<init>:()V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/boot/logging/java/JavaLoggingSystem;
public void cleanUp();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.boot.logging.java.JavaLoggingSystem.configuredLoggers:Ljava/util/Set;
invokeinterface java.util.Set.clear:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/boot/logging/java/JavaLoggingSystem;
}
SourceFile: "JavaLoggingSystem.java"
NestMembers:
org.springframework.boot.logging.java.JavaLoggingSystem$Factory org.springframework.boot.logging.java.JavaLoggingSystem$ShutdownHandler
InnerClasses:
protected LogLevels = org.springframework.boot.logging.AbstractLoggingSystem$LogLevels of org.springframework.boot.logging.AbstractLoggingSystem
public Factory = org.springframework.boot.logging.java.JavaLoggingSystem$Factory of org.springframework.boot.logging.java.JavaLoggingSystem
private final ShutdownHandler = org.springframework.boot.logging.java.JavaLoggingSystem$ShutdownHandler of org.springframework.boot.logging.java.JavaLoggingSystem