Return-Path: Delivered-To: apmail-geronimo-activemq-users-archive@www.apache.org Received: (qmail 83754 invoked from network); 8 Jun 2006 17:05:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 8 Jun 2006 17:05:03 -0000 Received: (qmail 3870 invoked by uid 500); 8 Jun 2006 17:05:02 -0000 Delivered-To: apmail-geronimo-activemq-users-archive@geronimo.apache.org Received: (qmail 3848 invoked by uid 500); 8 Jun 2006 17:05:02 -0000 Mailing-List: contact activemq-users-help@geronimo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: activemq-users@geronimo.apache.org Delivered-To: mailing list activemq-users@geronimo.apache.org Received: (qmail 3839 invoked by uid 99); 8 Jun 2006 17:05:02 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Jun 2006 10:05:02 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of james.strachan@gmail.com designates 66.249.92.173 as permitted sender) Received: from [66.249.92.173] (HELO ug-out-1314.google.com) (66.249.92.173) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Jun 2006 10:05:01 -0700 Received: by ug-out-1314.google.com with SMTP id m2so944434uge for ; Thu, 08 Jun 2006 10:04:40 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=QClhdm92miitL1GNh+v8m9Zn24v9/DfHMjR0XQAdCEeM8pnYldA5HXVJ8ROUkLrNN/6P5QMuAAoHc/gNPabvzuSuUA/Te69A/6UNLNS5+9U3fcPzqHys+DxU5uK6geb9NtQ2wdxlwwmjAIcESWIBIDphZ20GB1tRaEx4XFvo90k= Received: by 10.67.97.7 with SMTP id z7mr1711299ugl; Thu, 08 Jun 2006 10:04:40 -0700 (PDT) Received: by 10.66.255.17 with HTTP; Thu, 8 Jun 2006 10:04:40 -0700 (PDT) Message-ID: Date: Thu, 8 Jun 2006 18:04:40 +0100 From: "James Strachan" To: activemq-users@geronimo.apache.org Subject: Re: getting more debug information? In-Reply-To: <4773131.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <4736523.post@talk.nabble.com> <4773131.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On 6/8/06, pauldale wrote: > > >> Perhaps a user's guide? > > I'm afraid not. > > If I were to write up a skeleton "getting started" sort of document with > indications of where things are a bit hazy would you (or someone else?) be > willing to flesh it out? Definitely! How about starting with the getting started guide? http://incubator.apache.org/activemq/getting-started.html and trying to add to it or refactor etc? > >For logging as the page you mention says, we use Jakarta Commons > >Logging to enable/disable logging so that you can use it or log4j to > >configure which logging levels to choose. (e.g. try clicking on the > >links on that page). > > I did read through that link already and from my read understood that > "DEBUG" being the "highest" level should show everything. That is how I've > set it currently, but without the results I expected. I'm seeing when a > consumer thread is created, but not this information which I somehow had > previously, but don't have now ... > > 2006-06-01 11:07:18,311 [main ] DEBUG ActiveMQSession > - Sending message: ActiveMQTextMessage {commandId = 0, responseRequired > = false, messageId = ID:tps-24066-1149152837861-0:0:1:1:2, > originalDestination = null, originalTransactionId = null, producerId = > ID:tps-24066-114915 > 2837861-0:0:1:1, destination = queue://TEST.FOO, transactionId = null, > expiration = 0, timestamp = 1149152838310, arrival = 0, correlationId = > null, r > eplyTo = null, persistent = false, type = null, priority = 4, groupID = > null, groupSequence = 0, targetConsumerId = null, compressed = false, userID > = > null, content = null, marshalledProperties = null, dataStructure = null, > redeliveryCounter = 0, size = 0, properties = null, readOnlyProperties = tru > e, readOnlyBody = true, text = Message: 1 sent at: Thu Jun 01 11:07:18 CEST > 2006 > > My conf is currently ... > > log4j.rootLogger=DEBUG, out, stdout > log4j.logger.org.apache.activemq=DEBUG > log4j.logger.org.apache.activemq.spring=DEBUG > log4j.logger.org.springframework=DEBUG > log4j.logger.org.apache.xbean.spring=DEBUG > > Am I mistaken about DEBUG showing all? Or do I have some other > misunderstanding of the framework? Ah it could be that we don't log inbound received messages in the broker; the logging message you were seeing was from the JMS client; when you are using Stomp there is no JMS client to log. I've just added to SVN HEAD a logging plugin to make it easy to enable logging of all messages / acks... http://activemq.org/site/logging-interceptor.html -- James ------- http://radio.weblogs.com/0112098/