[
https://issues.apache.org/jira/browse/ARTEMIS-3950?focusedWorklogId=802511&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-802511
]
ASF GitHub Bot logged work on ARTEMIS-3950:
-------------------------------------------
Author: ASF GitHub Bot
Created on: 22/Aug/22 15:14
Start Date: 22/Aug/22 15:14
Worklog Time Spent: 10m
Work Description: gemmellr opened a new pull request, #4184:
URL: https://github.com/apache/activemq-artemis/pull/4184
(Ran XmlImportExportTest with and without debug level enabled for the
XmlDataImporter logger)
Issue Time Tracking
-------------------
Worklog Id: (was: 802511)
Remaining Estimate: 0h
Time Spent: 10m
> dont prepare unused debug detail during xml data import processing
> ------------------------------------------------------------------
>
> Key: ARTEMIS-3950
> URL: https://issues.apache.org/jira/browse/ARTEMIS-3950
> Project: ActiveMQ Artemis
> Issue Type: Improvement
> Affects Versions: 2.24.0
> Reporter: Robbie Gemmell
> Priority: Trivial
> Fix For: 2.25.0
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> 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.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)