Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-29113

Better logging on explorer modules

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 11.1, 2021.0
    • Component/s: Explorer

      Description

      Logging usage is weird and does not ease up debugging as logger classes are not specific to the class using the log.

      For instance the following log:

      ERROR [BaseNuxeoArtifactDocAdapter] Unable to find NXBundleGroup for id grp:org.nuxeo.ecm.platform
      

      is actually coming from class RepositoryDistributionSnapshot: BaseNuxeoArtifactDocAdapter is actually using a protected log, shared by all subclasses.

      ==> clean this all up and use new log4j logger everywhere.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 hours
                2h

                  PagerDuty

                  Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.