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 2017/07/25 15:39:01 UTC
[jira] [Closed] (ARTEMIS-1247) Allow tracing on ReplicatedJournal
[ https://issues.apache.org/jira/browse/ARTEMIS-1247?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
clebert suconic closed ARTEMIS-1247.
------------------------------------
> Allow tracing on ReplicatedJournal
> ----------------------------------
>
> Key: ARTEMIS-1247
> URL: https://issues.apache.org/jira/browse/ARTEMIS-1247
> Project: ActiveMQ Artemis
> Issue Type: Bug
> Components: Broker
> Affects Versions: 2.1.0
> Reporter: Romain PELISSE
> Priority: Minor
> Fix For: 2.2.0
>
>
> There is disabled logging of {{ReplicatedJournal}} due to hardcoded value:
> {code}
> private static final boolean trace = false;
> {code}
> Every trace log can never be logged:
> {code}
> if (ReplicatedJournal.trace) {
> ReplicatedJournal.trace("Append record id = " + id + " recordType = " + recordType);
> }
> {code}
> This is not ideal for investivatigation purposes.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)