On Wed, 17 Sep 2025 21:04:34 GMT, Weijun Wang <[email protected]> wrote:

> Does this mean the `parameters` argument in the `SSLSimpleFormatter::format` 
> method is always empty? And then all those `messageCompactFormatWithParas` 
> and `messageFormatWithParas` are useless?

`SSLSimpleFormatter.formatParameters(params)` is still used and contains logic 
to decode JSSE Objects for logging purposes. 


On your specific question regarding messageCompactFormatWithParas / 
messageFormatWithParas

correct - they appear to have been designed for SSLConsoleLogger use. The 
System.Logger option delegates back to the logging framework regarding output 
format.

The default System Logger format already includes some fields. e.g. :


Sep 18, 2025 9:10:00 AM sun.security.ssl.SSLLogger log
FINE: Ignore disabled cipher suite: TLS_ECDH_RSA_WITH_AES_256_GCM_SHA384

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

PR Comment: https://git.openjdk.org/jdk/pull/25934#issuecomment-3306455651

Reply via email to