Uploaded image for project: 'mod-configuration'
  1. mod-configuration
  2. MODCONF-103

RMB 33.2.4, Vert.x 4.2.3, log4j 2.17.1 fixing [] log entries

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • TBD
    • Resolution: Done
    • 5.7.3
    • 5.7.4
    • None
    • CP: sprint 131
    • 1
    • Core: Platform

    Description

      Update RMB from 33.2.2 to 33.2.4.

      Update Vert.x from 4.2.1 to 4.2.3.

      This updates log4j from 2.16.0 to 2.17.1. This re-enables the variable expansion in the logs, currently mod-configuration-client literally logs

      [${FolioLoggingContext:requestid}] [${FolioLoggingContext:tenantid}] [${FolioLoggingContext:userid}] 
      [${FolioLoggingContext:moduleid}]

      How to reproduce:

      git clone https://github.com/folio-org/mod-configuration
      cd mod-configuration
      git checkout v5.7.3
      git submodule update --init
      mvn test
      
      [INFO] --- maven-surefire-plugin:3.0.0-M4:test (default-test) @ mod-configuration-client ---
      [INFO]
      [INFO] -------------------------------------------------------
      [INFO]  T E S T S
      [INFO] -------------------------------------------------------
      [INFO] Running org.folio.rest.TestClient
      2022-01-17 09:25:23,568 main ERROR Unable to create Lookup for bundle java.lang.NoClassDefFoundError: org/apache/logging/log4j/core/lookup/JndiLookup
      

      ...

      09:25:24 [${FolioLoggingContext:requestid}] [${FolioLoggingContext:tenantid}] [${FolioLoggingContext:userid}] [${FolioLoggingContext:moduleid}] INFO  RestVerticle         git: https://github.com/folio-org/raml-module-builder.git 2c33a9107c432c83df71ac496d157bfba87186c9
      

       

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                julianladisch Julian Ladisch
                julianladisch Julian Ladisch
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases