Uploaded image for project: 'OpenJDK'
  1. OpenJDK
  2. OPENJDK-1525

Remove spurious error log messages ""Class-Path attribute cleared for ..."

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • 8.0.372 GA
    • None
    • icedtea-web
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • Low

      Every time a JAR is retrieved from the local disk cache, its Class-Path attribute in MANIFEST.MF has to be blanked, ITW only supports loading resources declared in JNLP files.
      When this happens, ITW systematically logs an event with a ERROR_DEBUG severity:

      OutputController.getLogger().log(OutputController.Level.ERROR_DEBUG, "Class-Path attribute cleared for " + returnFile.getName());
      

      This causes logs to flooded with potentially thousands of errors messages in large applications, which are in fact, not errors at all (it is the expected behaviour).
      Furthermore, the information's value is extremely low (this always happen) I do not think it necessary to keep logging these events even with a lower severity and should simply be removed.

              rh-ee-fthevene Frederic Thevenet
              rh-ee-fthevene Frederic Thevenet
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: