Craig L Russell wrote:

On Mar 4, 2007, at 3:20 PM, Gregg Wonderly wrote:
Mark Brouwer wrote:

and I want to apply a filter so that only log record with a level of
exactly FINEST are logged for discovery

IIUC, you can never specify that only log records with FINEST are logged. FINEST means to log all records that are equal to or more important, including FINER, FINE, INFO, WARN, and SEVERE.

You can Craig, but you have to implement a java.util.logging.Filter (so
where I use "filter" I mean "applying a Filter"). I have a filter that
filters LogRecords of which the level is within a particular range so
you can also say: log all records of which the level is in the range of
FINEST - FINER, and believe it or not I've used them ;-)

You can also create filter chains that operate as AND/OR operations in
which you capture multiple dimension to which you want to look at your
log records.
--
Mark

Reply via email to