You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Philip Harvey (JIRA)" <ji...@apache.org> on 2012/12/20 11:25:12 UTC

[jira] [Created] (QPID-4517) Java Broker: default log4j configuration outputs line numbers, which is a performance drag

Philip Harvey created QPID-4517:
-----------------------------------

             Summary: Java Broker: default log4j configuration outputs line numbers, which is a performance drag
                 Key: QPID-4517
                 URL: https://issues.apache.org/jira/browse/QPID-4517
             Project: Qpid
          Issue Type: Improvement
          Components: Java Broker
    Affects Versions: 0.20
            Reporter: Philip Harvey
            Assignee: Philip Harvey
            Priority: Minor


By default we produce this sort of logging:

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

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."

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org