[MGNLTEST-355] Add / fix / improve log-appenders for saas-TF classes Created: 17/Nov/22  Updated: 21/Dec/22  Resolved: 21/Dec/22

Status: Closed
Project: Magnolia Test Framework
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Neutral
Reporter: Christoph Meier Assignee: Christoph Meier
Resolution: Resolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: 2.5h
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty
Task DoR:
Empty
Epic Link: subscription-life-cycle-support-by-test-fwk
Team: Foundation
Work Started:

 Description   

Assumption is that log appenders for saas-test-infra-connectors are fine / perfect.

But the sub-module saas-test-framework is missing some appenders - in consequence we miss some important info in the log-files from jenkins.

Jenkins proclaims this:

11:10:34  log4j:WARN No appenders could be found for logger (info.magnolia.test.saas.SaasTestsuiteConfiguration).
11:10:34  log4j:WARN Please initialize the log4j system properly.
11:10:34  log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.

 

Developer notes

Before tackling this ticket, saas-TF has log4j.properties in these directories:

  • saas-test-framework-parent/saas-test-infra-connectors/src/test/resources/log4j.properties
  • saas-test-framework-parent/saas-test-framework/src/test/resources/log4j.properties

While the location of the files is fine when running self-tests of the 2 modules of saas-TF,
I assume that when running tests from e.g. magnolia-cloud/e2e, which depends on saas-TF - these 2 files above won't be available anymore - I guess.



 Comments   
Comment by Christoph Meier [ 21/Dec/22 ]

This is actually done

Generated at Mon Feb 12 07:48:07 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.