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

dont prepare unused debug detail during xml data import processing

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 2.24.0
    • 2.25.0
    • None
    • None

    Description

      The xml data import command for the cli prepares some details in a StringBuilder for use in debug logging. Though it does avoid calling toString() on the builder if the logger isnt enabled for debug output, it would be better not to prepare the detail at all since it takes various steps to do so including toString() of message metadata.

      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 - 20m
                  20m