File tree Expand file tree Collapse file tree 3 files changed +19
-5
lines changed
jetty-start/src/main/resources/org/eclipse/jetty/start
jetty-util/src/main/java/org/eclipse/jetty/util/log Expand file tree Collapse file tree 3 files changed +19
-5
lines changed Original file line number Diff line number Diff line change @@ -55,10 +55,11 @@ System Properties:
55
55
A Low Level Jetty Logger Implementation to use
56
56
(default: org.eclipse.jetty.util.log.Slf4jLog)
57
57
58
- org.eclipse.jetty.util.log.DEBUG=[boolean ]
59
- Debug logging for the stderr and javautil Loggers. Slf4j
58
+ [name|hierarchy].LEVEL=[loglevel ]
59
+ Change loglevel for the stderr and javautil Loggers. Slf4j
60
60
and other loggers must be separately configured for debug.
61
- (default: false)
61
+ For example: Dorg.eclipse.jetty.LEVEL=DEBUG
62
+ (default: INFO)
62
63
63
64
org.eclipse.jetty.util.log.IGNORED=[boolean]
64
65
Ignored exceptions are logged, independent of DEBUG settings
Original file line number Diff line number Diff line change @@ -106,7 +106,7 @@ public Object run()
106
106
}
107
107
finally
108
108
{
109
- IO . close (in );
109
+ safeCloseInputStream (in );
110
110
}
111
111
}
112
112
@@ -133,6 +133,19 @@ public Object run()
133
133
});
134
134
}
135
135
136
+ private static void safeCloseInputStream (InputStream in )
137
+ {
138
+ try
139
+ {
140
+ if (in != null )
141
+ in .close ();
142
+ }
143
+ catch (IOException e )
144
+ {
145
+ LOG .ignore (e );
146
+ }
147
+ }
148
+
136
149
private static Logger LOG ;
137
150
private static boolean __initialized ;
138
151
Original file line number Diff line number Diff line change 35
35
* <p>
36
36
* Configuration Properties:
37
37
* <dl>
38
- * <dt>${name|heirarchy }.LEVEL=(ALL|DEBUG|INFO|WARN|OFF)</dt>
38
+ * <dt>${name|hierarchy }.LEVEL=(ALL|DEBUG|INFO|WARN|OFF)</dt>
39
39
* <dd>
40
40
* Sets the level that the Logger should log at.<br/>
41
41
* Names can be a package name, or a fully qualified class name.<br/>
You can’t perform that action at this time.
0 commit comments