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

Rank to TopRank to BottomBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersConvert to sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          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

                Slack

                  Issue deployment