activemq-issues mailing list archives

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

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

clebert suconic updated ARTEMIS-1247:
-------------------------------------
    Summary: Allow tracing on ReplicatedJournal  (was: Allow to enable replicated journal
(not only at compilation time))

> 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