Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-11622

ReplicatedJournal class - disabled trace logging

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • 7.1.0.ER3
    • 7.1.0.ER1
    • ActiveMQ
    • None

      There is disabled logging of ReplicatedJournal due to hardcoded value:

      private static final boolean trace = false;
      

      Every trace log can never be logged:

      if (ReplicatedJournal.trace) {
               ReplicatedJournal.trace("Append record id = " + id + " recordType = " + recordType);
            }
      

      This is not ideal for investivatigation purposes.

            rpelisse@redhat.com Romain Pelisse
            mnovak1@redhat.com Miroslav Novak
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: