Uploaded image for project: 'Magnolia Test Framework'
  1. Magnolia Test Framework
  2. MGNLTEST-355

Add / fix / improve log-appenders for saas-TF classes

    XMLWordPrintable

Details

    • Task
    • Resolution: Resolved
    • Neutral
    • None
    • None
    • None

    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.

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              cmeier Christoph Meier
              cmeier Christoph Meier
              Foundation
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Work Started:

                Checklists

                  Task DoR

                  Time Tracking

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - Not Specified
                    Not Specified
                    Logged:
                    Time Spent - 2.5h
                    2.5h