You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Romain PELISSE (JIRA)" <ji...@apache.org> on 2017/06/22 09:19:00 UTC

[jira] [Commented] (ARTEMIS-1247) ReplicatedJournal class - disabled trace logging

    [ https://issues.apache.org/jira/browse/ARTEMIS-1247?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16059030#comment-16059030 ] 

Romain PELISSE commented on ARTEMIS-1247:
-----------------------------------------

Apparently, I can't assign the issue to me, but for the record I intend to work on this.

> ReplicatedJournal class - disabled trace logging
> ------------------------------------------------
>
>                 Key: ARTEMIS-1247
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-1247
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>          Components: AMQP
>    Affects Versions: 2.1.0
>            Reporter: Romain PELISSE
>            Priority: Minor
>
> 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)