Return-Path: X-Original-To: apmail-activemq-users-archive@www.apache.org Delivered-To: apmail-activemq-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 606CB9270 for ; Fri, 8 Mar 2013 18:04:56 +0000 (UTC) Received: (qmail 754 invoked by uid 500); 8 Mar 2013 18:04:55 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 729 invoked by uid 500); 8 Mar 2013 18:04:55 -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 721 invoked by uid 99); 8 Mar 2013 18:04:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Mar 2013 18:04:55 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of christian.posta@gmail.com designates 209.85.217.178 as permitted sender) Received: from [209.85.217.178] (HELO mail-lb0-f178.google.com) (209.85.217.178) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Mar 2013 18:04:50 +0000 Received: by mail-lb0-f178.google.com with SMTP id n1so1541102lba.9 for ; Fri, 08 Mar 2013 10:04:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=OeoJQ+N9I0WA+XT3MRlG2ACKv575pWqy81MAN3SxxDg=; b=rFTcS3oRKXTB015ybB7WnowhY7dJonCzsYDEg2ig7Hu5FlmzqM8d9KUnxwoBE3mn56 fCwjLORv8f+8eDNvnluWKUHikYKOepXWNnu5ai9s9Xmm4oiTKnXvp73PoaS/HcbggGRP XwmW1S2cORLBqCobyjVKMKv5Ngs5olzOi53D1+XM0QT8hxr5lKyWW4WcLjLbrcMWWxHl gSFP2ShJB3sT0Xcfkj3ireevwo2NER4VuiROX+Z5JQqzbKCvDV0oeEl3nCHlhXtb2Gp2 GjnEe61TdoUuyLqTklaQLxlY/bd5p/VYYNaUbToL/hia12z5VBZuYJyHTrAemNHd3Esp RCRA== MIME-Version: 1.0 X-Received: by 10.152.105.17 with SMTP id gi17mr2718232lab.46.1362765868825; Fri, 08 Mar 2013 10:04:28 -0800 (PST) Received: by 10.114.38.66 with HTTP; Fri, 8 Mar 2013 10:04:28 -0800 (PST) In-Reply-To: References: Date: Fri, 8 Mar 2013 11:04:28 -0700 Message-ID: Subject: Re: tracing STOMP in 5.7.0 From: Christian Posta To: "users@activemq.apache.org" Content-Type: multipart/alternative; boundary=f46d040892fd86010d04d76da751 X-Virus-Checked: Checked by ClamAV on apache.org --f46d040892fd86010d04d76da751 Content-Type: text/plain; charset=ISO-8859-1 Maybe try ?transport.trace=true On Fri, Mar 8, 2013 at 5:01 AM, Aleksandar Ivanisevic < aleksandar@ivanisevic.de> wrote: > > Using AMQ 5.7.0, I want to log all STOMP frames. As per docs in > http://activemq.apache.org/stomp.html section Debugging I have added > ?trace=true to the uri in transportConnector and the following in > log4j.properties: > > # stomp tracing > log4j.appender.stomp=org.apache.log4j.RollingFileAppender > log4j.appender.stomp.file=/tmp/stomp.log > log4j.appender.stomp.maxFileSize=1024KB > log4j.appender.stomp.maxBackupIndex=10 > log4j.appender.stomp.append=true > log4j.appender.stomp.layout=org.apache.log4j.PatternLayout > log4j.appender.stomp.layout.ConversionPattern=%d [%-15.15t] %-5p > %-30.30c{1} - %m%n > > #log4j.logger.org.apache.activemq.transport.stomp=TRACE, stomp > # enable this line and disable the above if you just want the frame IO. > log4j.logger.org.apache.activemq.transport.stomp.StompIO=TRACE, stomp > log4j.additivity.org.apache.activemq.transport.stomp=false > > > But im not seeing anything in the stomp.log. If I enable the full > logging and not just StompIO, I see STOMP related debug messages from > AMQ but no protocol frames. > > Any clues? > > > -- *Christian Posta* http://www.christianposta.com/blog twitter: @christianposta --f46d040892fd86010d04d76da751--