Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8256718 Obsolete the long term deprecated and aliased Trace flags
  3. JDK-8257429

Release Note: Deprecated Tracing Flags Are Obsolete and Must Be Replaced With Unified Logging Equivalents

XMLWordPrintable

    • Verified

      When Unified Logging was added in Java 9, a number of tracing flags were deprecated and mapped to their unified logging equivalent. These flags are now obsolete and will no longer be converted automatically to enable unified logging. To continue getting the same logging output, you must explicitly replace the use of these flags with their unified logging equivalent.

      | Obsoleted Option | Unified Logging Replacement |
      | ------------------------ | --------------------------- |
      | -XX:+TraceClassLoading | -Xlog:class+load=info |
      | -XX:+TraceClassUnloading | -Xlog:class+unload=info |
      | -XX:+TraceExceptions | -Xlog:exceptions=info |

            hseigel Harold Seigel (Inactive)
            hseigel Harold Seigel (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: