Integrated: 8343395: SSLLogger doesn't work for formatted messages

Sean Coffey coffeys at openjdk.org
Mon Sep 22 18:44:21 UTC 2025


On Mon, 23 Jun 2025 12:33:53 GMT, Sean Coffey <coffeys at openjdk.org> wrote:

> SLSLogger is broken when used with with `System.Logger` (-Djavax.net.debug mode)
> 
> SSL Debug messages don't use format specifiers. As a result, any custom format data isn't printed. Proposed solution is to append the SSL custom format output to the original debug message. Similar approach used for `SSLConsoleLogger ` mode.
> 
> Used this opportunity to delete some old commented code and to replace use of `"\n"` with `System.lineSeparator()`
> 
> DebugPropertyValuesTest also updated to test new logic.

This pull request has now been integrated.

Changeset: 47efe3c7
Author:    Sean Coffey <coffeys at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/47efe3c794c241b7534eac597b3dd03d571677f1
Stats:     37 lines in 3 files changed: 15 ins; 9 del; 13 mod

8343395: SSLLogger doesn't work for formatted messages

Reviewed-by: weijun

-------------

PR: https://git.openjdk.org/jdk/pull/25934


More information about the security-dev mailing list