public class org.eclipse.jetty.util.log.JettyLogHandler extends java.util.logging.Handler
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.eclipse.jetty.util.log.JettyLogHandler
super_class: java.util.logging.Handler
{
public static void config();
descriptor: ()V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=5, args_size=0
0: invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
invokevirtual java.lang.Thread.getContextClassLoader:()Ljava/lang/ClassLoader;
astore 0
start local 0 1: aload 0
ldc "logging.properties"
invokevirtual java.lang.ClassLoader.getResource:(Ljava/lang/String;)Ljava/net/URL;
astore 1
start local 1 2: aload 1
ifnull 16
3: getstatic java.lang.System.err:Ljava/io/PrintStream;
ldc "Initializing java.util.logging from %s%n"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
invokevirtual java.io.PrintStream.printf:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/PrintStream;
pop
4: aconst_null
astore 2
aconst_null
astore 3
5: aload 1
invokevirtual java.net.URL.openStream:()Ljava/io/InputStream;
astore 4
start local 4 6: invokestatic java.util.logging.LogManager.getLogManager:()Ljava/util/logging/LogManager;
aload 4
invokevirtual java.util.logging.LogManager.readConfiguration:(Ljava/io/InputStream;)V
7: aload 4
ifnull 17
aload 4
invokevirtual java.io.InputStream.close:()V
goto 17
StackMap locals: java.lang.ClassLoader java.net.URL java.lang.Throwable java.lang.Throwable java.io.InputStream
StackMap stack: java.lang.Throwable
8: astore 2
aload 4
ifnull 9
aload 4
invokevirtual java.io.InputStream.close:()V
end local 4 StackMap locals:
StackMap stack:
9: aload 2
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
10: astore 3
aload 2
ifnonnull 11
aload 3
astore 2
goto 12
StackMap locals:
StackMap stack:
11: aload 2
aload 3
if_acmpeq 12
aload 2
aload 3
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
12: aload 2
athrow
13: StackMap locals: java.lang.ClassLoader java.net.URL
StackMap stack: java.io.IOException
astore 2
start local 2 14: aload 2
getstatic java.lang.System.err:Ljava/io/PrintStream;
invokevirtual java.io.IOException.printStackTrace:(Ljava/io/PrintStream;)V
end local 2 15: goto 17
16: StackMap locals:
StackMap stack:
getstatic java.lang.System.err:Ljava/io/PrintStream;
ldc "WARNING: java.util.logging failed to initialize: logging.properties not found%n"
iconst_0
anewarray java.lang.Object
invokevirtual java.io.PrintStream.printf:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/PrintStream;
pop
17: StackMap locals:
StackMap stack:
ldc "org.apache.commons.logging.Log"
ldc "org.apache.commons.logging.impl.Jdk14Logger"
invokestatic java.lang.System.setProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
pop
18: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
1 19 0 cl Ljava/lang/ClassLoader;
2 19 1 url Ljava/net/URL;
6 9 4 in Ljava/io/InputStream;
14 15 2 e Ljava/io/IOException;
Exception table:
from to target type
6 7 8 any
5 10 10 any
4 13 13 Class java.io.IOException
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.util.logging.Handler.<init>:()V
1: getstatic org.eclipse.jetty.util.log.Log.__props:Ljava/util/Properties;
ldc "org.eclipse.jetty.util.log.DEBUG"
ldc "false"
invokevirtual java.util.Properties.getProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
invokestatic java.lang.Boolean.parseBoolean:(Ljava/lang/String;)Z
ifeq 3
2: aload 0
getstatic java.util.logging.Level.FINEST:Ljava/util/logging/Level;
invokevirtual org.eclipse.jetty.util.log.JettyLogHandler.setLevel:(Ljava/util/logging/Level;)V
3: StackMap locals: org.eclipse.jetty.util.log.JettyLogHandler
StackMap stack:
getstatic org.eclipse.jetty.util.log.Log.__props:Ljava/util/Properties;
ldc "org.eclipse.jetty.util.log.IGNORED"
ldc "false"
invokevirtual java.util.Properties.getProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
invokestatic java.lang.Boolean.parseBoolean:(Ljava/lang/String;)Z
ifeq 5
4: aload 0
getstatic java.util.logging.Level.ALL:Ljava/util/logging/Level;
invokevirtual org.eclipse.jetty.util.log.JettyLogHandler.setLevel:(Ljava/util/logging/Level;)V
5: StackMap locals:
StackMap stack:
getstatic java.lang.System.err:Ljava/io/PrintStream;
ldc "%s Initialized at level [%s]%n"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
aastore
dup
iconst_1
aload 0
invokevirtual org.eclipse.jetty.util.log.JettyLogHandler.getLevel:()Ljava/util/logging/Level;
invokevirtual java.util.logging.Level.getName:()Ljava/lang/String;
aastore
invokevirtual java.io.PrintStream.printf:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/PrintStream;
pop
6: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/eclipse/jetty/util/log/JettyLogHandler;
private synchronized java.lang.String formatMessage(java.util.logging.LogRecord);
descriptor: (Ljava/util/logging/LogRecord;)Ljava/lang/String;
flags: (0x0022) ACC_PRIVATE, ACC_SYNCHRONIZED
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.eclipse.jetty.util.log.JettyLogHandler.getMessage:(Ljava/util/logging/LogRecord;)Ljava/lang/String;
astore 2
start local 2 1: aload 1
invokevirtual java.util.logging.LogRecord.getParameters:()[Ljava/lang/Object;
astore 3
start local 3 2: aload 3
ifnull 3
aload 3
arraylength
ifne 5
3: StackMap locals: java.lang.String java.lang.Object[]
StackMap stack:
aload 2
4: areturn
5: StackMap locals:
StackMap stack:
ldc "\\{\\d+\\}"
invokestatic java.util.regex.Pattern.compile:(Ljava/lang/String;)Ljava/util/regex/Pattern;
aload 2
invokevirtual java.util.regex.Pattern.matcher:(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
invokevirtual java.util.regex.Matcher.find:()Z
ifeq 8
6: aload 2
aload 3
invokestatic java.text.MessageFormat.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
7: areturn
8: StackMap locals:
StackMap stack:
aload 2
9: areturn
end local 3 10: StackMap locals: org.eclipse.jetty.util.log.JettyLogHandler java.util.logging.LogRecord java.lang.String
StackMap stack: java.lang.Exception
pop
11: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/eclipse/jetty/util/log/JettyLogHandler;
0 12 1 record Ljava/util/logging/LogRecord;
1 12 2 msg Ljava/lang/String;
2 10 3 params [Ljava/lang/Object;
Exception table:
from to target type
1 4 10 Class java.lang.Exception
5 7 10 Class java.lang.Exception
8 9 10 Class java.lang.Exception
MethodParameters:
Name Flags
record
private java.lang.String getMessage(java.util.logging.LogRecord);
descriptor: (Ljava/util/logging/LogRecord;)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.util.logging.LogRecord.getResourceBundle:()Ljava/util/ResourceBundle;
astore 2
start local 2 1: aload 2
ifnull 5
2: aload 2
aload 1
invokevirtual java.util.logging.LogRecord.getMessage:()Ljava/lang/String;
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
3: areturn
4: StackMap locals: org.eclipse.jetty.util.log.JettyLogHandler java.util.logging.LogRecord java.util.ResourceBundle
StackMap stack: java.util.MissingResourceException
pop
5: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.util.logging.LogRecord.getMessage:()Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/eclipse/jetty/util/log/JettyLogHandler;
0 6 1 record Ljava/util/logging/LogRecord;
1 6 2 bundle Ljava/util/ResourceBundle;
Exception table:
from to target type
2 3 4 Class java.util.MissingResourceException
MethodParameters:
Name Flags
record
public void publish(java.util.logging.LogRecord);
descriptor: (Ljava/util/logging/LogRecord;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual java.util.logging.LogRecord.getLoggerName:()Ljava/lang/String;
invokevirtual org.eclipse.jetty.util.log.JettyLogHandler.getJettyLogger:(Ljava/lang/String;)Lorg/eclipse/jetty/util/log/Logger;
astore 2
start local 2 1: aload 1
invokevirtual java.util.logging.LogRecord.getLevel:()Ljava/util/logging/Level;
invokevirtual java.util.logging.Level.intValue:()I
istore 3
start local 3 2: iload 3
getstatic java.util.logging.Level.OFF:Ljava/util/logging/Level;
invokevirtual java.util.logging.Level.intValue:()I
if_icmplt 4
3: return
4: StackMap locals: org.eclipse.jetty.util.log.Logger int
StackMap stack:
aload 1
invokevirtual java.util.logging.LogRecord.getThrown:()Ljava/lang/Throwable;
astore 4
start local 4 5: aload 0
aload 1
invokevirtual org.eclipse.jetty.util.log.JettyLogHandler.formatMessage:(Ljava/util/logging/LogRecord;)Ljava/lang/String;
astore 5
start local 5 6: iload 3
getstatic java.util.logging.Level.WARNING:Ljava/util/logging/Level;
invokevirtual java.util.logging.Level.intValue:()I
if_icmplt 12
7: aload 4
ifnull 10
8: aload 2
aload 5
aload 4
invokeinterface org.eclipse.jetty.util.log.Logger.warn:(Ljava/lang/String;Ljava/lang/Throwable;)V
9: goto 11
10: StackMap locals: java.lang.Throwable java.lang.String
StackMap stack:
aload 2
aload 5
iconst_0
anewarray java.lang.Object
invokeinterface org.eclipse.jetty.util.log.Logger.warn:(Ljava/lang/String;[Ljava/lang/Object;)V
11: StackMap locals:
StackMap stack:
return
12: StackMap locals:
StackMap stack:
iload 3
getstatic java.util.logging.Level.INFO:Ljava/util/logging/Level;
invokevirtual java.util.logging.Level.intValue:()I
if_icmplt 18
13: aload 4
ifnull 16
14: aload 2
aload 5
aload 4
invokeinterface org.eclipse.jetty.util.log.Logger.info:(Ljava/lang/String;Ljava/lang/Throwable;)V
15: goto 17
16: StackMap locals:
StackMap stack:
aload 2
aload 5
iconst_0
anewarray java.lang.Object
invokeinterface org.eclipse.jetty.util.log.Logger.info:(Ljava/lang/String;[Ljava/lang/Object;)V
17: StackMap locals:
StackMap stack:
return
18: StackMap locals:
StackMap stack:
iload 3
getstatic java.util.logging.Level.FINEST:Ljava/util/logging/Level;
invokevirtual java.util.logging.Level.intValue:()I
if_icmplt 24
19: aload 4
ifnull 22
20: aload 2
aload 5
aload 4
invokeinterface org.eclipse.jetty.util.log.Logger.debug:(Ljava/lang/String;Ljava/lang/Throwable;)V
21: goto 23
22: StackMap locals:
StackMap stack:
aload 2
aload 5
iconst_0
anewarray java.lang.Object
invokeinterface org.eclipse.jetty.util.log.Logger.debug:(Ljava/lang/String;[Ljava/lang/Object;)V
23: StackMap locals:
StackMap stack:
return
24: StackMap locals:
StackMap stack:
iload 3
getstatic java.util.logging.Level.ALL:Ljava/util/logging/Level;
invokevirtual java.util.logging.Level.intValue:()I
if_icmplt 27
25: aload 2
aload 4
invokeinterface org.eclipse.jetty.util.log.Logger.ignore:(Ljava/lang/Throwable;)V
26: return
27: StackMap locals:
StackMap stack:
return
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 28 0 this Lorg/eclipse/jetty/util/log/JettyLogHandler;
0 28 1 record Ljava/util/logging/LogRecord;
1 28 2 jettyLogger Lorg/eclipse/jetty/util/log/Logger;
2 28 3 level I
5 28 4 cause Ljava/lang/Throwable;
6 28 5 msg Ljava/lang/String;
MethodParameters:
Name Flags
record
private org.eclipse.jetty.util.log.Logger getJettyLogger(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/eclipse/jetty/util/log/Logger;
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokestatic org.eclipse.jetty.util.log.Log.getLogger:(Ljava/lang/String;)Lorg/eclipse/jetty/util/log/Logger;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/util/log/JettyLogHandler;
0 1 1 loggerName Ljava/lang/String;
MethodParameters:
Name Flags
loggerName
public void flush();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=1, args_size=1
start local 0 0: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/util/log/JettyLogHandler;
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=1, args_size=1
start local 0 0: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/util/log/JettyLogHandler;
Exceptions:
throws java.lang.SecurityException
}
SourceFile: "JettyLogHandler.java"