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

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.20
    • 0.21
    • Broker-J
    • 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

            robbie Robbie Gemmell
            philharveyonline Phil Harvey
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: