Uploaded image for project: 'Geode'
  1. Geode
  2. GEODE-6964

Log4j configuration can be altered by adding geode-core to the classpath

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.0-incubating, 1.1.0, 1.1.1, 1.2.0, 1.3.0, 1.2.1, 1.4.0, 1.5.0, 1.6.0, 1.7.0, 1.8.0, 1.9.0, 1.9.1, 1.10.0
    • Fix Version/s: 1.11.0
    • Component/s: logging
    • Labels:
      None

      Description

      geode-core ships with a log4j2.xml at the standard location which means that it is a candidate for bootstraping the logging infrastructure of any app using that library. See also #GEODE-189

      This is a problem when embedding this library in application that relies on the absence of such a file to derive a sensible default configuration (typically a Spring Boot app).

      In general, the hard dependency on log4j is a bit annoying for the embedded use case. There is more context available here: https://github.com/spring-projects/spring-boot-data-geode/issues/42

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                klund Kirk Lund
                Reporter:
                snicoll Stephane Nicoll
              • Votes:
                1 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

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