Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-353

Using if statements before log4j calls

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Minor
    • 2.1 Final
    • 2.1 Final
    • core
    • None

    Description

      It would be nice to follow the followin:

      if(logger.isDebugEnabled()

      { logger.debug("Entry number: " + i + " is " + String.valueOf(entry[i])); }

      That would actually minimize the cost of logging in production environment.
      I've noticed there is a lot of output on the INFO level, and apply the test statement for each log call could greatly improve the reponsiveness.

      I could also work on it whenever ...

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              scharles Sameer Charles
              hellonico Nicolas Modrzyk
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Task DoD