public class JdkHandler extends Handler
Handler that bridges log records to Pax Logging loggers.
Even if SimpleFormatter is used, we only call its
Formatter.formatMessage(LogRecord) which only uses
MessageFormat.format(String, Object...) method on log record's message.
It doesn't do anything with remaining fields of LogRecord.
Since the backport of TLSv1.3 in java (JDK-8248721) the logic of TLS debug traces has been changed.
The new TLS debug logger uses a configured JUL logger when you define the system property "javax.net.debug"
as empty. The TLS log records contain additional string parameters. They are without format parameters in
the log message. The JdkHandler appends them to the end of the TLS log message.
The JdkHandler has the following logging modes for the TLS log records:
| Constructor and Description |
|---|
JdkHandler(PaxLoggingManager loggingManager) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
flush() |
void |
publish(LogRecord record)
|
getEncoding, getErrorManager, getFilter, getFormatter, getLevel, isLoggable, reportError, setEncoding, setErrorManager, setFilter, setFormatter, setLevelpublic JdkHandler(PaxLoggingManager loggingManager)
public void close()
throws SecurityException
close in class HandlerSecurityExceptionCopyright © 2006–2021 OPS4J - Open Participation Software for Java. All rights reserved.