Return-Path: X-Original-To: apmail-logging-log4j-user-archive@www.apache.org Delivered-To: apmail-logging-log4j-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C75C97395 for ; Wed, 14 Sep 2011 14:38:22 +0000 (UTC) Received: (qmail 31859 invoked by uid 500); 14 Sep 2011 14:38:22 -0000 Delivered-To: apmail-logging-log4j-user-archive@logging.apache.org Received: (qmail 31835 invoked by uid 500); 14 Sep 2011 14:38:22 -0000 Mailing-List: contact log4j-user-help@logging.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Log4J Users List" Reply-To: "Log4J Users List" Delivered-To: mailing list log4j-user@logging.apache.org Received: (qmail 31825 invoked by uid 99); 14 Sep 2011 14:38:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Sep 2011 14:38:22 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of scott.deboy@gmail.com designates 209.85.160.175 as permitted sender) Received: from [209.85.160.175] (HELO mail-gy0-f175.google.com) (209.85.160.175) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Sep 2011 14:38:15 +0000 Received: by gyg8 with SMTP id 8so1775764gyg.34 for ; Wed, 14 Sep 2011 07:37:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:from:to:in-reply-to:content-type :content-transfer-encoding:x-mailer:mime-version:subject:date :references; bh=NZ82WColbO5+FulsmVShK6IruqTnowjN8WD5dPcj37Q=; b=WFUE6sPk6C/KJOFx5tgxsOHfSbTRaMuNzZ1xLuEC4MrUXiywCC0b2PGI3iTucXux0K CfX0CWiWQicjIlEFd69QCGrvFRrs91X+rErA3i8ROYQbX4xcf3Wl6mV3k2dsb5bPNedm /RHMVQXq8LsExGV4yosuJ2cBzdJQf1COHxYd8= Received: by 10.42.29.198 with SMTP id s6mr3538000icc.296.1316011074356; Wed, 14 Sep 2011 07:37:54 -0700 (PDT) Received: from [192.168.1.149] (c-67-171-171-29.hsd1.or.comcast.net. [67.171.171.29]) by mx.google.com with ESMTPS id r2sm454017ibq.7.2011.09.14.07.37.52 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 14 Sep 2011 07:37:53 -0700 (PDT) Message-Id: <190DEAF3-70E2-4528-A1D2-E2202AC54E1D@gmail.com> From: Scott Deboy To: Log4J Users List In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit X-Mailer: iPhone Mail (7E18) Mime-Version: 1.0 (iPhone Mail 7E18) Subject: Re: Chain saw socket appender Date: Wed, 14 Sep 2011 07:37:21 -0700 References: Try application instead of Application. On Sep 14, 2011, at 7:29 AM, "Konduru, Geetha" wrote: > Sorry, it is not working for me... > > Case1:-I used exactly following configuration, > > > > > > > > > > On chainsaw I used following configuration > > class="org.apache.log4j.net.SocketReceiver"> > > > > > > In chainsaw I see a tab with name "localhost- ",not "localhost-app1" > > > > Case 2:- > > One instance of an application is running with following > configuration. > > > > > > > > > > Second instance of same application is running with following > configuration > > > > > > > > > > > > On chainsaw I used following configuration > > class="org.apache.log4j.net.SocketReceiver"> > > > > > > STILL I see one tab with name "localhost- " and loggingevents from two > different Process are shown in one tab. > > > > Would you please tell me as where I am going wrong. > > > Thanks a lot, > VGSS > > > > > -----Original Message----- > From: Scott Deboy [mailto:scott.deboy@gmail.com] > Sent: Wednesday, September 14, 2011 1:54 AM > To: Log4J Users List > Subject: Re: Chain saw socket appender > > Since log4j 1.2.15, the socket-based appenders have an 'application' > parameter that can be set which will result in an additional > application > property being set on each event, which will then be used by > Chainsaw to > route events to the correct tab. > > The following example will result in events being routed to a tab > called > 'localhost-app1': > > > > > > > > > > By default, events are routed to tabs by resolving the hostname and > application event properties. The tab/name event routing expression > is > configurable via the application-wide preferences dialog. > > Scott > > > On Tue, Sep 13, 2011 at 6:22 AM, Konduru, Geetha > wrote: > >> Hi, >> >> >> >> >> >> 1. Following is how my SocketAppender configured. >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> 2. Following is how my SocketReceiver is configured. >> >> >> >> >> >> > class="org.apache.log4j.net.SocketReceiver"> >> >> < >> >> < >> >> < >> >> >> >> >> >> >> >> By this in chainsaw I am getting a Tabbed Pane with >> name as "localhost-", but what I am looking for is a Tabbed Pane with >> name "localhost-AppName". >> >> >> >> Please let me know what changes should I do to get, Tabbed Pane name > as >> "localhost-AppName". >> >> >> >> >> >> >> >> Thank U, >> >> vgss >> >> *** >> ******************************************************************* >> This e-mail message and any attachments contain confidential > information >> from Medco. If you are not the intended recipient, you are hereby > notified >> that disclosure, printing, copying, distribution, or the taking of >> any >> action in reliance on the contents of this electronic information is >> strictly prohibited. If you have received this e-mail message in > error, >> please immediately notify the sender by reply message and then delete > the >> electronic message and any attachments. >> > > ********************************************************************** > This e-mail message and any attachments contain confidential > information from Medco. If you are not the intended recipient, you > are hereby notified that disclosure, printing, copying, > distribution, or the taking of any action in reliance on the > contents of this electronic information is strictly prohibited. If > you have received this e-mail message in error, please immediately > notify the sender by reply message and then delete the electronic > message and any attachments. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org > For additional commands, e-mail: log4j-user-help@logging.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org For additional commands, e-mail: log4j-user-help@logging.apache.org