qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robbie Gemmell (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (QPID-4517) Java Broker: default log4j configuration outputs line numbers, which is a performance drag
Date Mon, 31 Dec 2012 17:10:13 GMT

    [ https://issues.apache.org/jira/browse/QPID-4517?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13541419#comment-13541419
] 

Robbie Gemmell commented on QPID-4517:
--------------------------------------

I'm fine with it being either way, I assigned it back to you so you could actually make the
change (my comment could have perhaps been clearer on that :)).
                
> 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
>         Attachments: 0001-QPID-4517-modify-broker-log4j-configuration-to-use-l.patch,
QPID-4517-logging-perf-tests.tar.gz
>
>
> 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


Mime
View raw message