I've made a change that should address some of your issues relating to the
ability to filter on the TIMESTAMP field.
Equality and inequality rules now support the timestamp field, using a specific
date format pattern: 'yyyy/MM/dd HH:mm:ss' (include the ticks when building
expressions because of the space in the pattern).
For example, to see all events for the 18th of June, use this expression:
TIMESTAMP >= '2004/06/18 00:00:00' && TIMESTAMP <= '2004/06/19 00:00:00'
The equality and inequality operators support the Timestamp field using this
pattern, but neither ~= (partial text match) nor LIKE (regexp) operators provide
this support.
This capability is available from the head of the logging-log4j CVS module. The
web start client hasn't been updated, but should be soon.
Scott
-----Original Message-----
From: Kena...@vectorsgi.com [mailto:Kena...@vectorsgi.com]
Sent: Fri 6/18/2004 12:56 PM
To: log4...@jakarta.apache.org
Cc:
Subject: Problem with filtering TIMESTAMP in Chainsaw
Hi,
I just started using Chainsaw and it looks really cool.
However, I could not filter TIMESTAMP field. For example, when I right-click
on TIMESTAMP field and select: Set "Refine Focus' Field, it returns nothing.
Same thing happens if I use regular expression. Here is example of my
timestamp value: 2004-06-18 14:36:13,270.
Here is regular expression I'm using: TIMESTAMP LIKE .*2004-06-18.*.
Actually, I noticed that TIMESTAMP filter only works with millisecond part
of the timestamp (in my case: 270).
Is this possible, or am I missing something here?
Thanks for any help,
Kenan
VECTORsgi - leading provider of check image exchange software.
VECTORsgi's Consulting Services - image exchange strategy development and
deployment.
Image Exchange - VECTORsgi Gets You There!
Learn about VECTORsgi by using http://www.VECTORsgi.com