Uploaded image for project: '[Read Only] - Hippo Repository'
  1. [Read Only] - Hippo Repository
  2. REPO-1888

Improve "Content definition processing failed" log message

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • None
    • 5.1.0
    • None
    • None

    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

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

            Dates

              Created:
              Updated:
              Resolved: