If the system property "javax.net.debug" is not defined, the debug logging is turned off. If the system property "javax.net.debug" is defined as empty, the debug logger is specified by System.getLogger("javax.net.ssl"), and applications can customize and configure the logger or use external logging mechanisms. If the system property "javax.net.debug" is defined and non-empty, a private debug logger which logs to System.err is used.
| Modifier and Type | Class and Description |
|---|---|
| public static enum | SSLLogger.
Enum representing possible debug options for JSSE debugging. |
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private static final System. | |
| private final String | |
| private static final boolean | |
| private final boolean |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static void | |
| public static void | |
| public static void | |
| public String | |
| private static void | |
| public static void | |
| public boolean | isLoggable(System.
Implements java. Checks if a message of the given level would be logged by this logger. |
| public static boolean | |
| public static boolean | |
| public void | log(System.
Implements java. Logs a localized message associated with a given throwable. |
| public void | log(System.
Implements java. Logs a message with resource bundle and an optional list of parameters. |
| private static void | |
| pack-priv static boolean | |
| public static void | |
| pack-priv static String | |
| public static void |
| logger | back to summary |
|---|---|
| private static final System. | |
| loggerName | back to summary |
|---|---|
| private final String loggerName | |
| logging | back to summary |
|---|---|
| private static final boolean logging | |
| useCompactFormat | back to summary |
|---|---|
| private final boolean useCompactFormat | |
| SSLLogger | back to summary |
|---|---|
| private SSLLogger(String loggerName, String options) | |
| fine | back to summary |
|---|---|
| public static void fine(String msg, Object... params) | |
| finer | back to summary |
|---|---|
| public static void finer(String msg, Object... params) | |
| finest | back to summary |
|---|---|
| public static void finest(String msg, Object... params) | |
| getName | back to summary |
|---|---|
| public String getName() Implements java. Doc from java. Returns the name of this logger.
| |
| help | back to summary |
|---|---|
| private static void help() | |
| info | back to summary |
|---|---|
| public static void info(String msg, Object... params) | |
| isLoggable | back to summary |
|---|---|
| public boolean isLoggable(System. Implements java. Doc from java. Checks if a message of the given level would be logged by this logger.
| |
| isOn | back to summary |
|---|---|
public static boolean isOn()
| |
| isOn | back to summary |
|---|---|
| public static boolean isOn(SSLLogger. Return true if the specific DebugOption is enabled or ALL is enabled | |
| log | back to summary |
|---|---|
| public void log(System. Implements java. Doc from java. Logs a localized message associated with a given throwable.
If the given resource bundle is non-
| |
| log | back to summary |
|---|---|
| public void log(System. Implements java. Doc from java. Logs a message with resource bundle and an optional list of
parameters.
If the given resource bundle is non-
| |
| log0 | back to summary |
|---|---|
| private static void log0(System. | |
| logWarning | back to summary |
|---|---|
| pack-priv static boolean logWarning(SSLLogger. | |
| severe | back to summary |
|---|---|
| public static void severe(String msg, Object... params) | |
| toString | back to summary |
|---|---|
| pack-priv static String toString(Object... params) | |
| warning | back to summary |
|---|---|
| public static void warning(String msg, Object... params) | |
ALL and SSL are considered master components. Entries without an underscore ("_"), and not ALL or SSL, are subcomponents. Entries with an underscore ("_") denote options specific to subcomponents.
Fields: - 'component': Lowercase name of the option. - 'isSubComponent': True for subcomponents. - 'on': Indicates whether the option is enabled. Some rule based logic is used to determine value of this field.
Enabling subcomponents fine-tunes (filters) debug output.
| Modifier and Type | Field and Description |
|---|---|
| public static final SSLLogger. | |
| pack-priv final String | |
| public static final SSLLogger. | |
| public static final SSLLogger. | |
| public static final SSLLogger. | |
| pack-priv final boolean | |
| public static final SSLLogger. | |
| pack-priv boolean | |
| public static final SSLLogger. | |
| public static final SSLLogger. | |
| public static final SSLLogger. | |
| public static final SSLLogger. | |
| public static final SSLLogger. | |
| public static final SSLLogger. | |
| public static final SSLLogger. | |
| public static final SSLLogger. | |
| public static final SSLLogger. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static SSLLogger. | |
| public static SSLLogger. |
| ALL | back to summary |
|---|---|
| public static final SSLLogger. | |
| component | back to summary |
|---|---|
| pack-priv final String component | |
| DEFAULTCTX | back to summary |
|---|---|
| public static final SSLLogger. | |
| HANDSHAKE | back to summary |
|---|---|
| public static final SSLLogger. | |
| HANDSHAKE_VERBOSE | back to summary |
|---|---|
| public static final SSLLogger. | |
| isSubComponent | back to summary |
|---|---|
| pack-priv final boolean isSubComponent | |
| KEYMANAGER | back to summary |
|---|---|
| public static final SSLLogger. | |
| on | back to summary |
|---|---|
| pack-priv boolean on | |
| RECORD | back to summary |
|---|---|
| public static final SSLLogger. | |
| RECORD_PACKET | back to summary |
|---|---|
| public static final SSLLogger. | |
| RECORD_PLAINTEXT | back to summary |
|---|---|
| public static final SSLLogger. | |
| RESPMGR | back to summary |
|---|---|
| public static final SSLLogger. | |
| SESSION | back to summary |
|---|---|
| public static final SSLLogger. | |
| SESSIONCACHE | back to summary |
|---|---|
| public static final SSLLogger. | |
| SSL | back to summary |
|---|---|
| public static final SSLLogger. | |
| SSLCTX | back to summary |
|---|---|
| public static final SSLLogger. | |
| TRUSTMANAGER | back to summary |
|---|---|
| public static final SSLLogger. | |
| Opt | back to summary |
|---|---|
| private Opt() | |
| valueOf | back to summary |
|---|---|
| public static SSLLogger. | |
| values | back to summary |
|---|---|
| public static SSLLogger. | |
| Modifier and Type | Field and Description |
|---|---|
| private static final MessageFormat | |
| private static final DateTimeFormatter | |
| private static final MessageFormat | |
| private static final MessageFormat | |
| private static final MessageFormat | |
| private static final MessageFormat | |
| private static final MessageFormat | |
| private static final MessageFormat | |
| private static final String |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private static String | |
| private static String | |
| private static String | |
| private static String | |
| private static String | |
| private static String | |
| private static String | |
| private static String | |
| private static String |
| basicCertFormat | back to summary |
|---|---|
| private static final MessageFormat basicCertFormat | |
| dateTimeFormat | back to summary |
|---|---|
| private static final DateTimeFormatter dateTimeFormat | |
| extendedCertFormat | back to summary |
|---|---|
| private static final MessageFormat extendedCertFormat | |
| keyObjectFormat | back to summary |
|---|---|
| private static final MessageFormat keyObjectFormat | |
| messageCompactFormatNoParas | back to summary |
|---|---|
| private static final MessageFormat messageCompactFormatNoParas | |
| messageCompactFormatWithParas | back to summary |
|---|---|
| private static final MessageFormat messageCompactFormatWithParas | |
| messageFormatNoParas | back to summary |
|---|---|
| private static final MessageFormat messageFormatNoParas | |
| messageFormatWithParas | back to summary |
|---|---|
| private static final MessageFormat messageFormatWithParas | |
| PATTERN | back to summary |
|---|---|
| private static final String PATTERN | |
| SSLSimpleFormatter | back to summary |
|---|---|
| private SSLSimpleFormatter() | |
| format | back to summary |
|---|---|
| private static String format(SSLLogger logger, System. | |
| formatByteArrayInputStream | back to summary |
|---|---|
| private static String formatByteArrayInputStream(ByteArrayInputStream bytes) | |
| formatByteBuffer | back to summary |
|---|---|
| private static String formatByteBuffer(ByteBuffer byteBuffer) | |
| formatCaller | back to summary |
|---|---|
| private static String formatCaller() | |
| formatCertificate | back to summary |
|---|---|
| private static String formatCertificate(Certificate certificate) | |
| formatMapEntry | back to summary |
|---|---|
| private static String formatMapEntry(Map. | |
| formatObject | back to summary |
|---|---|
| private static String formatObject(Object obj) | |
| formatParameters | back to summary |
|---|---|
| private static String formatParameters(Object... parameters) | |
| formatThrowable | back to summary |
|---|---|
| private static String formatThrowable(Throwable throwable) | |