Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-4517

[Java Broker] default log4j configuration outputs line numbers, which is a performance drag

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.20
    • Fix Version/s: 0.21
    • Component/s: Broker-J
    • Labels:
      None

      Description

      By default we produce this sort of logging:

      2012-12-20 09:52:51,490 INFO  [main] (AbstractConfiguration.java:124) - Tag:'path'
      

      Including line numbers is slow, as described by the log4j documentation (http://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/PatternLayout.html):

      "WARNING Generating caller location information is extremely slow and should be avoided unless execution speed is not an issue."

        Attachments

          Activity

            People

            • Assignee:
              gemmellr Robbie Gemmell
              Reporter:
              philharveyonline Philip Harvey
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: