public class JavaUtilLoggingUtils extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JAVA_NET_URL_LOG_PKG |
| Modifier and Type | Method and Description |
|---|---|
static void |
setConsoleHandlerLevel(String loggerPackage,
Level level) |
static void |
setJavaNetURLConsoleLoggingLevel(Level level)
Installs a separate
ConsoleHandler for the logger package
"sun.net.www.protocol.http" and disconnects logging from parent handlers to avoid duplicated output. |
public static final String JAVA_NET_URL_LOG_PKG
public static void setConsoleHandlerLevel(String loggerPackage, Level level)
loggerPackage - "" for root loggerlevel - the logging level to setpublic static void setJavaNetURLConsoleLoggingLevel(Level level)
ConsoleHandler for the logger package
"sun.net.www.protocol.http" and disconnects logging from parent handlers to avoid duplicated output.level - the logging level to setCopyright © 2014–2017 Github jjYBdx4IL Projects. All rights reserved.