[
https://issues.apache.org/jira/browse/ARTEMIS-1247?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16059456#comment-16059456
]
ASF GitHub Bot commented on ARTEMIS-1247:
-----------------------------------------
Github user clebertsuconic commented on the issue:
https://github.com/apache/activemq-artemis/pull/1360
this is old code.. before we used tracing and logging...
I will send a better commit now.
> Allow tracing on ReplicatedJournal
> ----------------------------------
>
> 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)