You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Clebert Suconic (Jira)" <ji...@apache.org> on 2022/08/30 20:19:00 UTC

[jira] [Closed] (ARTEMIS-3950) dont prepare unused debug detail during xml data import processing

     [ https://issues.apache.org/jira/browse/ARTEMIS-3950?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Clebert Suconic closed ARTEMIS-3950.
------------------------------------

> 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
>            Assignee: Robbie Gemmell
>            Priority: Trivial
>             Fix For: 2.25.0
>
>          Time Spent: 20m
>  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)