Advertisement

07.15.2008 at 11:05AM PDT, ID: 23567021
[x]
Attachment Details

Configure Log4j in JBoss

Asked by jtremb95 in Jboss Application Server, Message Queue, Open Source Programming

Tags: , , ,

Is there any documentation that could explain how to configure Log4j in JBoss using the jboss-log4j.xml file?  I need to use the JMSAppender to send logging messages to a queue. Im not sure how to alter the following XML code for use with a queue and not a topic.Start Free Trial
1:
2:
3:
4:
5:
6:
7:
<appender name="JMS" class="org.apache.log4j.net.JMSAppender">
   <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler" />
   <param name="Threshold" value="ERROR" />
   <param name="TopicConnectionFactoryBindingName"
          value="java:/ConnectionFactory" />
   <param name="TopicBindingName" value="topic/MyErrorsTopic" />
</appender>
 
 
[+][-]07.15.2008 at 02:33PM PDT, ID: 22011335

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.16.2008 at 01:15PM PDT, ID: 22019707

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.17.2008 at 11:27AM PDT, ID: 22028495

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Jboss Application Server, Message Queue, Open Source Programming
Tags: Apache, Log4j, 1.2, file in question: C:\jboss-4.2.2\server\default\conf\jboss-log4j.xml
Sign Up Now!
Solution Provided By: ramazanyich
Participating Experts: 1
Solution Grade: A
 
 
[+][-]07.17.2008 at 11:30AM PDT, ID: 22028535

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628