1. I've written a LogFileXMLReceiver that works like
LogFilePatternReceiver but can process files formatted via XMLLayout (or
java.util.logging's DTD), but there hasn't been a log4j alpha build
since I created the receiver.

To use it, you'd have to get the Chainsaw distribution (not use the Web
Start version), build log4j locally from SVN head, and use the
locally-built log4j-xml jar when running Chainsaw locally.

Once a new log4j alpha is released, we'll build a new version of
Chainsaw and you'll be able to use the Web Start version and create a
LogFileXMLReceiver from the 'new receivers' screen.

2. You can turn off the exit prompt - see the View-Show application wide
preferences menu.

3. There is no 'and'ing support using 'focus on' in the tree.  Instead,
use the expression filter box, for example:

logger ~= org.apache.log4j && msg ~= 'some message'

4. You can 'ignore this package' two ways:
- In the logger tree, ctrl-shift-double click on a package to add to the
'ignore' list.
- Add a 'NOT' expression to the filter (or search) boxes, for example:
msg ~= 'some msg' && ( ! ( logger ~= org.apache.log4j.chainsaw ) )

5. There is a slightly useful expression builder available in the
filter/search box - hit ctrl-space, or right click the mouse.  It will
autocomplete the right side of expressions in some cases (logger, level,
etc).

6. You can save a query in the list by hitting 'enter' at the end of the
expression - it's not remembered on restart, though.

Hope this helps

Scott

-----Original Message-----
From: Wim Deblauwe [mailto:[EMAIL PROTECTED] 
Sent: Thursday, April 27, 2006 7:27 AM
To: Log4J Users List
Subject: Chainsaw feature requests

Hi,

I'm using chainsaw for a few weeks now. We use it to look at the xml
files
that are generated by our application. If you can find the time, it
would be
nice to have the following features:

- reload the xml file from the context menu when you right-click on the
tab
(or real-time reloading of the xml file - but then a pause button could
be
needed). It is annoying that I need to close chainsaw and start it again
to
see the updated xml file.
- be able to turn off the question to really exit
- In the left tree view: Do an 'AND' operation if you select "Focus on
..."
while another item has "Focus on...".
- In the main part of the view: Select a logging line in the list, right
click and be able to say "Ignore this class". Even better would be to
also
add "Ignore this package". It would help especially if you have many
classes
and packages that you don't have to go looking in the list on the left
to
find that class.

Less important:
- search wizard to avoid having to know the exact syntax to do queries.
- saving queries in a list

I hope someone finds the time to do this. The first one is the most
important one, that one would help me a lot.

kind regards,

Wim

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

Reply via email to