Uploaded image for project: 'Hippo Repository'
  1. Hippo Repository
  2. REPO-1888

Improve "Content definition processing failed" log message

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.1.0
    • Labels:
      None
    • Similar issues:
    • Epic Link:
    • Processed by team:
      Platform
    • Sprint:
      Platform 169

      Description

      When deploying a 12.0.2 project on empty repository, I ran into this warning in org.onehippo.cm.engine.JcrContentProcessor#apply

      log.warn(String.format("Content definition processing failed: %s", definitionNode.getPath()));

      Although the caught exception is rethrown, there is nothing more in the logs.

      Can we add more information, like exception name and message, the .yaml file involved, possible reason.
      Shouldn't we raise this to ERROR?

      Also the String.format part is obsolete, log.warn/error supports parameterization by itself.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jhoffman Jeroen Hoffman
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: