[LIVECOPY-298] LiveCopyUtils#getMasterNode spams the Log if called on none Livecopy Node Created: 09/Dec/21  Updated: 23/Mar/22  Resolved: 23/Mar/22

Status: Closed
Project: Live Copy
Component/s: None
Affects Version/s: 3.2.6
Fix Version/s: 3.2.8

Type: Bug Priority: Neutral
Reporter: Tobias Alsema Assignee: Jesus Alonso
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: File mgnl.log    
Issue Links:
relation
Template:
Acceptance criteria:
Empty
Task DoD:
[X]* Doc/release notes changes? Comment present?
[X]* Downstream builds green?
[X]* Solution information and context easily available?
[X]* Tests
[X]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Date of First Response:
Story Points: 0.5

 Description   

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



 Comments   
Comment by Jesus Alonso [ 23/Mar/22 ]

Log reduced to info

Generated at Mon Feb 12 02:27:23 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.