Bug 583131
| Summary: | Fix Java Client logging | ||
|---|---|---|---|
| Product: | Red Hat Enterprise MRG | Reporter: | Rajith Attapattu <rattapat+nobody> |
| Component: | qpid-java | Assignee: | Jonathan Robie <jonathan.robie> |
| Status: | CLOSED ERRATA | QA Contact: | Jiri Kolar <jkolar> |
| Severity: | urgent | Docs Contact: | |
| Priority: | urgent | ||
| Version: | 1.2 | CC: | gsim, jkolar, jonathan.robie |
| Target Milestone: | 1.3 | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: |
The Java Client is now shipped with the 'slf4j' API in the qpid-deps.jar Java Archive (JAR) file, and the 'log4j' binding in slf4j-log4j.jar.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2010-10-14 16:00:23 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Rajith Attapattu
2010-04-16 18:48:45 UTC
As of qpid-java-0.7.946106 the default logging level is INFO out the box and this is horribly noisy when e.g. running the hello world example. We now ship the slf4j api in qpid-deps.jar and the log4j binding in slf4j-log4j.jar. Both jars are placed under /usr/share/java/qpid-deps. The documentation explains, 1. How to use a different binding. 2. How to configure the default binding (log4j) using an example. 3. A warning that if the default binding is used, logging needs to be explicitly configured or else it will default to DEBUG which will degrade performance. Regards, Rajith Fixed, Verified both jars are present, packages: qpid-java-client-0.7.946106-3 qpid-java-common-0.7.946106-3 Documentation: 1.present 2.example added 3.warning present package: rhm-docs-0.7.946106-2 -=#> VERIFIED
Technical note added. If any revisions are required, please edit the "Technical Notes" field
accordingly. All revisions will be proofread by the Engineering Content Services team.
New Contents:
The Java Client is now shipped with the 'slf4j' API in 'qpid-deps.jar' and the 'log4j' binding in 'slf4j-log4j.jar'.
Technical note updated. If any revisions are required, please edit the "Technical Notes" field
accordingly. All revisions will be proofread by the Engineering Content Services team.
Diffed Contents:
@@ -1 +1 @@
-The Java Client is now shipped with the 'slf4j' API in 'qpid-deps.jar' and the 'log4j' binding in 'slf4j-log4j.jar'.+The Java Client is now shipped with the 'slf4j' API in the qpid-deps.jar Java Archive (JAR) file, and the 'log4j' binding in slf4j-log4j.jar.
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHSA-2010-0773.html |