Return-Path: Delivered-To: apmail-logging-log4j-user-archive@www.apache.org Received: (qmail 36795 invoked from network); 8 Aug 2006 17:35:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 8 Aug 2006 17:35:10 -0000 Received: (qmail 63360 invoked by uid 500); 8 Aug 2006 17:35:05 -0000 Delivered-To: apmail-logging-log4j-user-archive@logging.apache.org Received: (qmail 63329 invoked by uid 500); 8 Aug 2006 17:35:05 -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 63318 invoked by uid 99); 8 Aug 2006 17:35:05 -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:35:05 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [160.36.178.33] (HELO panther.mail.utk.edu) (160.36.178.33) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Aug 2006 10:35:02 -0700 Received: from [160.36.50.12] (babar7.phys.utk.edu [160.36.50.12]) (authenticated bits=0) by panther.mail.utk.edu (8.13.6/8.13.4) with ESMTP id k78HYO7O000366 for ; Tue, 8 Aug 2006 13:34:24 -0400 Message-ID: <44D8CB20.7090809@utk.edu> Date: Tue, 08 Aug 2006 13:34:24 -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: multipart/alternative; boundary="------------090806040103030901000709" X-SMTP-Auth: auth_authen=gcerizza X-Scanned-By: MIMEDefang 2.53 on 160.36.178.33 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 --------------090806040103030901000709 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hi George, in my log4j.xml I set up only the XMLSocketReceiver params. Do you mean I can set up in the xml file branches for opening tabs or db receivers? With Chainsaw, Scott told me I can't configure tabs with the xml file... Sorry but I'm a newbie and every help is really appreciated! Giordano Harp, George wrote: > Why not use appenders in you Log4j.xml as far as forwarding Log > messages? > > -----Original Message----- > From: Giordano Cerizza [mailto:gcerizza@utk.edu] > Sent: Tuesday, August 08, 2006 12:22 PM > To: Log4J Users List > Subject: Re: XML file for a custom expression in LogPanel (Chainsaw v2) > > 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 > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org > For additional commands, e-mail: log4j-user-help@logging.apache.org > > > --------------090806040103030901000709--