Larry,

I must confess that I started looking into log4j for the first time today,
so I am not overly familiar with it.  I browsed the classes looking at the
Logger, and Appender classes (Layout didn't seem to make sense for this),
and didn't see anything that met this need.  I'll check out the Filters
class and see what it can do.  Thanx.

-Regards,
 Steve

-----Original Message-----
From: Larry Young [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 15, 2003 2:04 PM
To: Log4J Users List
Subject: Re: Enhancement Request


Steve,

         Why not do this with Filters?  In fact, doesn't the SMTP appender
have something like this already?

--- regards ---
Larry


At 11:04 AM 10/15/03, you wrote:
>To Log4J Team:
>
>I would like to recommend an enhancement to the Log4J toolkit.  There are
>applications in which it is desirable to put a ceiling on the number of
>times any given message is reported.  Parsers are an excellent example, in
>which warnings of the type "Token XXXXXX not found in record" really only
>need to be reported once and not (possibly) thousands of times in a file
>that obviously doesn't contain that token.  I envision the configuration
>file allowing one to set the Logger with a property of MAX_REPORTS which
>allows one to place this ceiling on the number of times a message is passed
>to the Appender object.  I recognize that this would slightly hurt the
>performance as a comparison to a private integer variable would have to be
>made.
>
>Just a suggestion.  Thanx for listening.
>
>-Regards,
>  Steve Widom
>
>Steve Widom
>Advanced Technology Group Manager
>AmerisourceBergen Specialty Group
>Phone (972) 490-5551
>www.amerisourcebergen.com
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]

--------------------------
Larry Young
The Dalmatian Group
www.dalmatian.com



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




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

Reply via email to