Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-6863

JCR configuration source wouldn't print the details of a registered definition

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Neutral Neutral
    • None
    • 5.5
    • None
    • None

      Yaml config source would print a similar line when a definition is registered:

      2016-11-07 15:35:14,904 INFO agnolia.config.source.yaml.YamlConfigurationSource: Registered definition from YAML file [/layout-demos/dialogs/pages/dummy-page-properties.yaml]: [dialog] definition [dummy-page-properties] with reference id: [layout-demos:pages/dummy-page-properties] from module [layout-demos] at [pages/dummy-page-properties]

      JCR config source does not (I suspect it used to do it, but can't find a commit/place). Especially in development mode the problem statistic printout becomes context-less and
      doesn't mean much.
      {{2016-11-07 15:35:14,536 WARN .magnolia.config.source.jcr.JcrConfigurationSource: 0 major and 1 minor problems have been encountered
      2016-11-07 15:35:14,554 WARN .magnolia.config.source.jcr.JcrConfigurationSource: 0 major and 1 minor problems have been encountered
      2016-11-07 15:35:14,560 WARN .magnolia.config.source.jcr.JcrConfigurationSource: 0 major and 1 minor problems have been encountered
      2016-11-07 15:35:14,582 WARN .magnolia.config.source.jcr.JcrConfigurationSource: 0 major and 1 minor problems have been encountered
      ...}}

      Solution:

      • add a similar registered definition entry to the log
      • change the problem statistic messages severity to 'debug'

        Acceptance criteria

              Unassigned Unassigned
              apchelintcev Aleksandr Pchelintcev
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:

                  Bug DoR
                  Task DoD