Re: ExpressionFilter and TIMESPAN

2007-08-17 Thread Curt Arnold
On Aug 17, 2007, at 3:36 AM, WALLIS, Simon, GBM wrote: Thanks Curt, that's perfect! Now... where do I download the update and sample XML config files from? I originally got the extras companion from http://people.apache.org/builds/logging/log4j/companions/extras/ 1.0/, but I don't see anyth

Re: ExpressionFilter and TIMESPAN

2007-08-17 Thread Curt Arnold
On Aug 17, 2007, at 3:36 AM, WALLIS, Simon, GBM wrote: Thanks Curt, that's perfect! Now... where do I download the update and sample XML config files from? I originally got the extras companion from http://people.apache.org/builds/logging/log4j/companions/extras/ 1.0/, but I don't see anyth

RE: ExpressionFilter and TIMESPAN

2007-08-17 Thread WALLIS, Simon, GBM
al Message- From: Curt Arnold [mailto:[EMAIL PROTECTED] Sent: 17 August 2007 00:23 To: Log4J Users List Subject: Re: ExpressionFilter and TIMESPAN On Aug 15, 2007, at 10:58 AM, WALLIS, Simon, GBM wrote: > Hi again, > > I'm wondering if it is possible to use the ExpressionFilter

Re: ExpressionFilter and TIMESPAN

2007-08-16 Thread Curt Arnold
On Aug 15, 2007, at 10:58 AM, WALLIS, Simon, GBM wrote: Hi again, I'm wondering if it is possible to use the ExpressionFilter to only log events occurring within a certain time span each day. For example, I don't want to log events in my application between the hours of 01:00 and 03:00 (

Re: ExpressionFilter and TIMESPAN

2007-08-16 Thread Curt Arnold
Likely best just to add a TimeFilter and not try to overload ExpressionFilter and do regex tricks to get time ranges. Eventually, I'd see ExpressionFilter be replaced with a script filter using the scripting interface provided in JDK 6, so there is no real need to add many more bells and w

Re: ExpressionFilter and TIMESPAN

2007-08-16 Thread Curt Arnold
On Aug 16, 2007, at 2:19 AM, Scott Deboy wrote: In TimestampInequalityRule and TimestampEqualityRule, we could support a 2nd simpledateformat transparently, which would kick in if the long format couldn't parse the argument. The 2nd simpledateformat could be 'HH:mm:ss' - add the millis r

RE: ExpressionFilter and TIMESPAN

2007-08-16 Thread Scott Deboy
w we would tackle LikeRule. Scott -Original Message- From: Curt Arnold [mailto:[EMAIL PROTECTED] Sent: Wed 8/15/2007 10:58 PM To: Log4J Users List Subject: Re: ExpressionFilter and TIMESPAN On Aug 15, 2007, at 11:03 AM, WALLIS, Simon, GBM wrote: > Oops, I meant to type TIMESTAMP, n

Re: ExpressionFilter and TIMESPAN

2007-08-15 Thread Curt Arnold
On Aug 15, 2007, at 11:03 AM, WALLIS, Simon, GBM wrote: Oops, I meant to type TIMESTAMP, not TIMESPAN. -Original Message- From: WALLIS, Simon, GBM Sent: 15 August 2007 16:58 To: 'Log4J Users List' Subject: ExpressionFilter and TIMESPAN Hi again, I'm wondering if it

RE: ExpressionFilter and TIMESPAN

2007-08-15 Thread Scott Deboy
Sent: Wednesday, August 15, 2007 8:58 AM To: 'Log4J Users List' Subject: ExpressionFilter and TIMESPAN Hi again, I'm wondering if it is possible to use the ExpressionFilter to only log events occurring within a certain time span each day. For example, I don't want to log events in m

RE: ExpressionFilter and TIMESPAN

2007-08-15 Thread WALLIS, Simon, GBM
' Subject: ExpressionFilter and TIMESPAN Hi again, I'm wondering if it is possible to use the ExpressionFilter to only log events occurring within a certain time span each day. For example, I don't want to log events in my application between the hours of 01:00 and 03:00 (due

ExpressionFilter and TIMESPAN

2007-08-15 Thread WALLIS, Simon, GBM
Hi again, I'm wondering if it is possible to use the ExpressionFilter to only log events occurring within a certain time span each day. For example, I don't want to log events in my application between the hours of 01:00 and 03:00 (due to scheduled environment outage where tons of errors are spewe