Uploaded image for project: 'controller'
  1. controller
  2. CONTROLLER-838

Clustering : Ensure that all logging at debug level is done conditionally

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Done
    • Helium
    • None
    • mdsal
    • None
    • Operating System: Mac OS
      Platform: PC

    • 1883
    • Normal

    Description

      This is required for performance reasons.

      Basically instead of simply doing.

      LOG.debug("Foo {}", bigcalc());

      do

      if(LOG.isDebugEnabled()){
      LOG.debug("Foo {}", bigcalc());
      }

      This bug applies to code in,

      sal-clustering-commons
      sal-akka-raft
      sal-distributed-datastore

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            harmasin@cisco.com Harman Singh
            moraja@cisco.com Moiz Raja
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: