Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8253932

SSL debug log prints incorrect caller info

    XMLWordPrintable

    Details

      Description

      SSL debug log, enabled by "-Djavax.net.debug=ssl" option, prints incorrect Caller info:
      "Logger.java:765" instead of the actual source of the log message

      Actual output:

      javax.net.ssl|FINE|01|main|2020-10-02 05:44:19.539 PDT|Logger.java:765|jdk.tls.keyLimits: entry = AES/GCM/NoPadding KeyUpdate 2^37. AES/GCM/NOPADDING:KEYUPDATE = 137438953472

      Expected output:

      javax.net.ssl|FINE|01|main|2020-10-02 05:55:36.576 PDT|SSLCipher.java:438|jdk.tls.keyLimits: entry = AES/GCM/NoPadding KeyUpdate 2^37. AES/GCM/NOPADDING:KEYUPDATE = 137438953472

      How to reproduce:
      Run simple Https client with "-Djavax.net.debug=ssl" option

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              abakhtin Alexey Bakhtin
              Reporter:
              abakhtin Alexey Bakhtin
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: