Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 17180 invoked from network); 7 Nov 2008 05:24:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 Nov 2008 05:24:45 -0000 Received: (qmail 51745 invoked by uid 500); 7 Nov 2008 05:24:51 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 51728 invoked by uid 500); 7 Nov 2008 05:24:51 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Received: (qmail 51717 invoked by uid 99); 7 Nov 2008 05:24:50 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Nov 2008 21:24:50 -0800 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Nov 2008 05:23:31 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1KyJpM-00087v-BT for users@activemq.apache.org; Thu, 06 Nov 2008 21:24:12 -0800 Message-ID: <20374948.post@talk.nabble.com> Date: Thu, 6 Nov 2008 21:24:12 -0800 (PST) From: manish_goyal To: users@activemq.apache.org Subject: JMSAppender configuration MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: manishkumar_goyal@infosys.com X-Virus-Checked: Checked by ClamAV on apache.org Hi, I need to configure my log4j.xml file to log into ActiveMQ JMS queue. I have configured my java class file as logger using following settings:- static Logger myLogger = Logger.getLogger(MyClass.class.getName()); myLogger.setLevel(Level.INFO); myLayout= new SimpleLayout(); myAppender= new JMSAppender(); myLogger.addAppender(myAppender); Please tell me the configuration of log4j.xml file to log into ActiveMQ JMS queue. Please reply me soon. Thanks a lot. Regards, Manish -- View this message in context: http://www.nabble.com/JMSAppender-configuration-tp20374948p20374948.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.