Uploaded image for project: 'Live Copy'
  1. Live Copy
  2. LIVECOPY-298

LiveCopyUtils#getMasterNode spams the Log if called on none Livecopy Node

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Neutral Neutral
    • 3.2.8
    • 3.2.6
    • None

      Steps to reproduce

      1. Create a Page on a Site where the info.magnolia.livecopy.i18n.LiveCopyI18nContentSupport is configured. (no livecopy slave)
      2. Open the Page
      3. Log is full of unnecessary spam.

       

      Expected results

      > Livecopy does not spam the log

      Actual results

      example (one of many / more in the log):

      > 2021-12-09 18:41:01,621 WARN  info.magnolia.livecopy.jcr.LiveCopyUtils          : Cannot find masterContentIdentifier property for /aurubis-com node

       

      Workaround

      Change LOG-Level in LiveCopyUtils#getMasterNode to trace or info to not spam the log.

      Development notes

        Acceptance criteria

          1. mgnl.log
            318 kB
            Tobias Alsema

              jalonso Jesus Alonso
              talsema Tobias Alsema
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD