logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Scott Deboy" <sde...@comotivsystems.com>
Subject RE: Chainsaw V2
Date Tue, 23 Jan 2007 15:53:57 GMT
Events are routed to individual tabs based on the 'tab identifier' expression - available from
the application-wide preferences menu.  Notice the default is:
PROP.hostname - PROP.application

If this expression is used, Chainsaw examines each received logging event for both 'hostname'
and 'application' properties (usually MDC entries).  If these properties exist, a tab is created
if necessary and the event is added to that tab. 

Some receivers add properties to the event to facilitate this routing (the socket-based receivers
and file-based receivers) - UDPReceiver doesn't.

There is another feature you can use: the 'view, create custom expression logpanel' menu will
create a new tab based on an expression (think of it as a 'view' of events, ignoring the 'tab
identifier' based routing).

Using the custom expression logpanel feature, you could create a new tab which contains only
your events - use this expression to receive all events except chainsaw/log4j events in a
new tab (all of your events);
! ( logger ~= org.apache )

Yes, you need the spaces around operators, keywords and parens.  This says:
Give me all events where the logger doesn't contain org.apache

Hope that helps

Scott Deboy
111 SW Columbia Street Ste. 950
Portland, OR  97201

Telephone:      503.224.7496
Cell:           503.997.1367
Fax:            503.222.0185



-----Original Message-----
From: Dietmar Winkler, T-AU [mailto:Dietmar.Winkler@tecan.com]
Sent: Tue 1/23/2007 2:58 AM
To: log4j-user@logging.apache.org
Subject: Chainsaw V2
Hello everybody,


I recently tried Chainsaw V2 as a log-viewer for my C# application (using log4net).

In principle it works fine so far (using the UDP-Receiver)


Unfortunately all my logging messages from all my loggers are placed in the "chainsaw-log"
tab (together with log-messages from Chainsaw itself).

I did the tutorial and recognized that there a few new tabs for various loggers are generated.

How can I implement a similar behavior?


I place it here because I think this is not related to log4net as the logging source (knowing
that there is a seperate list for log4net users)



Best regards, Mit freundlichen Grüßen


Dietmar Winkler

Software Engineer


Tecan Austria GmbH

Untersbergstr. 1a, 5082 Grödig, Austria

T +43 6246 8933 167, F +43 6246 8933 6167

mailto:dietmar.winkler@tecan.com, www.tecan.com


This message is intended for the named addressee(s) only. It may contain

privileged and confidential information. Any disclosure, copying or

distribution of this message is prohibited and may be unlawful. If you are

not the intended recipient, please destroy this message and notify us

immediately. Thank you for your cooperation.


View raw message