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:[EMAIL PROTECTED] Sent: Monday, August 07, 2006 12:29 PM
To: [email protected]
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to