Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 47670 invoked from network); 31 Jan 2008 04:54:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 31 Jan 2008 04:54:47 -0000 Received: (qmail 30453 invoked by uid 500); 31 Jan 2008 04:54:37 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 30430 invoked by uid 500); 31 Jan 2008 04:54:37 -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 30421 invoked by uid 99); 31 Jan 2008 04:54:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Jan 2008 20:54:37 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lloy0076@adam.com.au designates 203.6.132.66 as permitted sender) Received: from [203.6.132.66] (HELO smtp2.mail.adnap.net.au) (203.6.132.66) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 Jan 2008 04:54:08 +0000 Received: from 219-90-130-138.ip.adam.com.au ([219.90.130.138]) by smtp2.mail.adnap.net.au with esmtp (Exim 4.69 (FreeBSD)) (envelope-from ) id 1JKRQp-0009fa-Hz for users@activemq.apache.org; Thu, 31 Jan 2008 15:23:47 +1030 Message-ID: <47A15487.8040507@adam.com.au> Date: Thu, 31 Jan 2008 15:24:31 +1030 From: David Lloyd User-Agent: Thunderbird 2.0.0.4 (X11/20070622) MIME-Version: 1.0 To: users@activemq.apache.org Subject: Re: Suppress ActiveMQ log4j messages on client References: <15197557.post@talk.nabble.com> <62449BAD-A9D9-4683-8352-DB1CE1B312A4@aconex.com> In-Reply-To: <62449BAD-A9D9-4683-8352-DB1CE1B312A4@aconex.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Paul, Paul Smith wrote: > > On 31/01/2008, at 2:37 PM, QWERTY? wrote: > >> >> Hi, >> >> We're currently using Hibernate and ActiveMQ, but i want to suppress >> all the >> activeMQ messages comming through log4j >> >> is there an easy way to do this? I can only get it down to debug >> messages so >> far using >> >> log4j.logger.org.apache.activemq=debug > > You're going the wrong way, this is configuring log4j to display _more_ > logging than you want. If you want all activemq logs disabled try: > >> log4j.logger.org.apache.activemq=off Indeed, but I tend to like to set that to FATAL; at least then you don't suddenly get ActiveMQ or whatever it is breaking horribly with no logging. D:S:L