Allow Qpid users to configure the Java client logging using an sl4j binding of 
their choice, instead of Qpid shipping a defualt binding.
----------------------------------------------------------------------------------------------------------------------------------------

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


All though we have a logging facade (slf4j) in the java client, we complicate 
the situation by shipping slf4j-log4j binding along with our release artifacts.
If not configured properly log4j will default to using DEBUG which degrades the 
performance.
The situation complicated as we have a whole bunch of log4j.xmls and property 
files lying all over the place.

We have discussed and arrived at some consensus on the following thread.
http://apache-qpid-developers.2158895.n2.nabble.com/Java-Client-Logging-yet-again-td4696020.html#a4696020

The action plan for solving this includes.

1. Remove all log4j.xml and log4j.properties files from the code based
(except for the ones in broker/etc )

2.  Remove slf4j-log4j.jar from our release artefacts.
     The reason this is present in the java/lib folder is due to our test 
framework relying on log4j for capturing client logs for debug.

3. Document clearly the logging mechanism in the
"Programming-In-Apache-Qpid' guide."
  This should include how one could change to a different slf4j binding

4. Upstream packages could use a binding of their choice.

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