JMS client's default logging level should be WARN not DEBUG
-----------------------------------------------------------

                 Key: QPID-2113
                 URL: https://issues.apache.org/jira/browse/QPID-2113
             Project: Qpid
          Issue Type: Bug
          Components: Java Client
    Affects Versions: 0.6
            Reporter: Rajith Attapattu
            Assignee: Rajith Attapattu
             Fix For: 0.6


The way log4j works is as follows. 
It will try to look for log4j.xml within the classpath.
Failing which it will try to look for log4j.properties within the classpath.

In our qpid-common-xx.jar we have a log4j.properties and the log level is 
configured as follows.

log4j.logger.org.apache.qpid=${amqj.logging.level}, console

So unless the system property "amqj.logging.level" is set, it will default to 
DEBUG. (log4j unfortunately defaults to DEBUG instead of WARN).

This causes an issue as out of the box performance for the JMS client is slow 
due to the excessive logging.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:[email protected]

Reply via email to