activemq-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ARTEMIS-1247) Allow tracing on ReplicatedJournal
Date Thu, 22 Jun 2017 14:23:00 GMT

    [ 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)

Mime
View raw message