logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Scott Deboy" <sde...@comotivsystems.com>
Subject RE: More chainsaw comments
Date Fri, 21 May 2004 19:13:58 GMT
There are two choices off the top of my head for supporting the display of multiple loggers
at once:

- in the logger tree: disable individual loggers you'd like to exclude in a hierarchy, and
then focus on the higher level hierarchy, OR
- in the 'refine focus' field, define an expression explicitly specifying the loggers you
are interested in
	for example, 'logger ~= org.apache.log4j.spi || logger ~= org.apache.log4j.xml'

(the ~= means perform a partial text case-insensitive match - a number of other operators
are supported, including LIKE - a regexp operator).  The implication in the above expression
of using ~= is that sub-loggers will also be included.  Using == would only display those
specific loggers.  

Operators, expressions and filters are described in more detail in the tutorial.

Hope this helps,

Scott

-----Original Message-----
From: Ceki Gülcü [mailto:ceki@qos.ch] 
Sent: Friday, May 21, 2004 11:33 AM
To: log4j-dev@logging.apache.org
Subject: More chainsaw comments



Hi again,

The automatic direction of events to various panels is a very powerful 
feature. Is this feature documented somewhere?

The capability to focus on a logger is also very useful. Is it possible to 
focus on multiple loggers at once? It looked as if that was not the case.

Thanks in advance,

ps: Keep up the fantastic work.


-- 
Ceki Gülcü

      For log4j documentation consider "The complete log4j manual"
      ISBN: 2970036908 http://www.qos.ch/shop/products/clm_t.jsp  



---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org


Mime
View raw message