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

Introduce Logger API for security libs diagnostics

XMLWordPrintable

    • generic
    • generic

      Currently, we use different flags to turn on verbose logging and tracing in various JDK components. We should look to unify verbose logging by using the Logger API. End users can turn on logging via the standard Logger mechanism.

      javax.net.debug=x and java.security.debug=y are two examples of customized debugging options used in security libs. There's no reason we can't use the Logger API to capture messages in these code areas. Logger is a more common standard for capturing debug output in enterprise apps.

      Core libs sustaining is looking at possibility of converting all tracing and diagnostic flags to a 'logger' type framework. To start, we'll concentrate on security-libs as a proof of concept. We'll also continue to support the legacy debug flags for now.

            coffeys Sean Coffey
            coffeys Sean Coffey
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: