Uploaded image for project: 'ActiveMQ Artemis'
  1. ActiveMQ Artemis
  2. ARTEMIS-4020

switch to using SLF4J for logging API and use Log4j 2 for broker distribution

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.27.0
    • None
    • None

    Description

      Switch to using SLF4J as the logging API for the code base, with end-uses supplying and configuring an SLF4J-supporting logging implementation of their choice based on their needs.

      For the client, applications will need to supply an SLF4J binding to a logging implementation of their choice to enable logging. An example of doing so using Log4J 2 is given in (/will be, once the release is out) the client logging documentation.

      For the broker, the assembly distribution will include Log4J 2 as its logging implentation, with the "artemis create" CLI command used to create broker instances now creating a log4j2.properties configuration within the <broker-instance>/etc/ directory to configure Log4J. Details for upgrading an existing broker-instance is given in (/will be, once the release is out) the version upgrade documentation.

      Attachments

        Issue Links

          Activity

            People

              robbie Robbie Gemmell
              robbie Robbie Gemmell
              Votes:
              0 Vote for this issue
              Watchers:
              2 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 - 18h
                  18h