Return-Path: Delivered-To: apmail-logging-log4j-user-archive@www.apache.org Received: (qmail 31895 invoked from network); 8 Aug 2006 17:22:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 8 Aug 2006 17:22:28 -0000 Received: (qmail 18131 invoked by uid 500); 8 Aug 2006 17:22:24 -0000 Delivered-To: apmail-logging-log4j-user-archive@logging.apache.org Received: (qmail 18097 invoked by uid 500); 8 Aug 2006 17:22:24 -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 18085 invoked by uid 99); 8 Aug 2006 17:22:24 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Aug 2006 10:22:23 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [160.36.0.84] (HELO jaguar.mail.utk.edu) (160.36.0.84) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Aug 2006 10:22:19 -0700 Received: from [160.36.50.12] (babar7.phys.utk.edu [160.36.50.12]) (authenticated bits=0) by jaguar.mail.utk.edu (8.13.6/8.13.4) with ESMTP id k78HLUOP011777 for ; Tue, 8 Aug 2006 13:21:30 -0400 Message-ID: <44D8C81A.6020802@utk.edu> Date: Tue, 08 Aug 2006 13:21:30 -0400 From: Giordano Cerizza User-Agent: Thunderbird 1.5.0.5 (X11/20060802) MIME-Version: 1.0 To: Log4J Users List Subject: Re: XML file for a custom expression in LogPanel (Chainsaw v2) References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-SMTP-Auth: auth_authen=gcerizza X-Scanned-By: MIMEDefang 2.53 on 160.36.0.84 X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Status: Message recipients not local. X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi Scott, thanks a lot for your reply but I suspected it! About writing lines to implement some features, I could do but now it's not my main aim. Maybe in the future. This morning I was try to figure out if it was possible to set up different kind of branches (not only logging viewer). I mean, is it possible for Chainsaw send logging messages to a database and not only to other tabs? Or in another way: can Chainsaw work as a dispatcher and send logging messages to different branches at the same time (db, windows, files...)? If no, don't you know any other Log4j tool for logging services with xml configurating features and working as a dispatcher? Thanks again for you kindness but find docs about that is really hard! Best regards Giordano Scott Deboy wrote: > Currently there's no way to have custom expression logpanel entries open > on Chainsaw start. > > The only automatic tab routing mechanism available is the 'tab > identifier' setting available from the view-show application wide > preferences menu. > > Some useful tab identifiers include: > > LEVEL > Route all events with a specific severity to a common tab > > PROP.log4j.remoteSourceInfo > Route all socketappender-generated events for each client to a new tab > > The default tab identifier (PROP.application-PROP.hostname) is useful if > you're using log4j 1.3 appenders - a number of the 1.3 appenders set > these properties. > > If you'd like to add this ability and contribute it back, we'd gladly > review it for inclusion! > > Hope this helps > > Scott > > > -----Original Message----- > From: Giordano Cerizza [mailto:gcerizza@utk.edu] > Sent: Monday, August 07, 2006 12:29 PM > To: log4j-user@logging.apache.org > Subject: XML file for a custom expression in LogPanel (Chainsaw v2) > > Hi all, > I am a newbie in Log4j programming and I need help about writing an > log4j.xml file to run with Chainsaw v2. > The problem is: I can manage and display different messages coming from > different modules and split them off in a tab (go to "Create custom > expression LogPanel" and write the expression "LOGGER = = 'com.xxx.XYZ' > && LEVEL = = INFO" for example) but I would like to configure the xml > file to do that in advance. > I didn't find any useful docs about that. > Thanks in advance for your help > Best Regards > Giordano Cerizza > > --------------------------------------------------------------------- > 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 > > > --------------------------------------------------------------------- To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org For additional commands, e-mail: log4j-user-help@logging.apache.org