Qpid
  1. Qpid
  2. QPID-4517

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

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 0.20
    • Fix Version/s: 0.21
    • Component/s: Java Broker
    • 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."

        Activity

        No work has yet been logged on this issue.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development