RE: [SPAM (Bayesain Analysis)] - Re: Enhanced FileAppender - Bayesian Filter detected spam

2006-10-11 Thread Bender Heri
Hi Ceki see inline. > On the down side, in order to configure the embedded file appender, > MultiFileAppender would need to somehow replay bits of configuration file > (each time a new FileAppender needs to be created). How would you configure the embedded FileAppender? Would the configuration o

Re: Enhanced FileAppender

2006-10-10 Thread Ceki Gülcü
Heri et al., Jumping in on this thread a little late, I believe that the decorator pattern would offer a significant advantage because it would handle derivatives of the FileAppender class such as RollingFileAppender. On the down side, in order to configure the embedded file appender, MultiFileAp

Re: Enhanced FileAppender

2006-10-09 Thread Curt Arnold
On Oct 9, 2006, at 3:03 AM, Bender Heri wrote: Hi all After having thought during the weekend I think Patrick's suggestion of Decorator Pattern would be the easiest way to go. Pro: - The enhancement applies to all FileAppender - There is no need to touch the code of the existing file app

Re: Enhanced FileAppender

2006-10-09 Thread Bender Heri
Hi all After having thought during the weekend I think Patrick's suggestion of Decorator Pattern would be the easiest way to go. Pro: - The enhancement applies to all FileAppender - There is no need to touch the code of the existing file appenders. They work the same way as until now (except t

Re: Enhanced FileAppender

2006-10-05 Thread Curt Arnold
On Oct 5, 2006, at 7:45 AM, Leo Lima wrote: Well, in recurrent scheduling servers that open a log file per schedule, that would be totally necessary. I, for example, must use something that has append in it... I was suggesting that there need not be an "append" attribute since the u

Re: Enhanced FileAppender

2006-10-05 Thread Ron Grabowski
AIL PROTECTED]> To: [email protected] Sent: Monday, October 2, 2006 2:12:26 PM Subject: Enhanced FileAppender Hello all Since in user list nobody commented my suggestion for an enhancement of the FileAppender I will repeat it here. Problem: A often asked issue in user list is the pr

Re: Enhanced FileAppender

2006-10-05 Thread Bender Heri
Hi Leo > > 3. The configured file name can be used as base when > building the concrete > > filename > > That's what KeyFileAppender does, and I think it's enought. > But, sure, if > I'd like to split the files on directories, I guess it would > be no use? Or > if we make the File name have

Re: Enhanced FileAppender

2006-10-05 Thread Leo Lima
Hello. "Bender Heri" <[EMAIL PROTECTED]> escreveu na mensagem news:[EMAIL PROTECTED] > great that now a real discussion about my proposal is launched and you, > Curt, want to setup a new project for it. But I am sorry that I have > nearly no time for helping. I see my contribution to log4j in h

KeyPoolFileAppender (was Enhanced FileAppender)

2006-10-05 Thread Leo Lima
"Patrick Wyss" <[EMAIL PROTECTED]> escreveu na mensagem news:[EMAIL PROTECTED] > but maybe instead of subclassing FileAppender it would make more sense > anyway to use the decorator pattern. => "MultiFileAppender" which takes a > FileAppender as parameter. so you could wrap it around any exist

Re: Enhanced FileAppender

2006-10-05 Thread Bender Heri
gt; To: [email protected] > Subject: [SPAM (Bayesain Analysis)] - Re: Enhanced FileAppender - > Bayesian Filter detected spam > > > > "Curt Arnold" <[EMAIL PROTECTED]> escreveu na mensagem > news:[EMAIL PROTECTED] > >>> Opening or reopening a l

AW: Re: Enhanced FileAppender

2006-10-05 Thread Patrick Wyss
> Well, in recurrent scheduling servers that open a log file > per schedule, > that would be totally necessary. I, for example, must use > something that has > append in it... i think what curt meant was that *only* append=true makes sense here... so that's why it should not be possible to set

Re: Enhanced FileAppender

2006-10-05 Thread Leo Lima
"Curt Arnold" <[EMAIL PROTECTED]> escreveu na mensagem news:[EMAIL PROTECTED] >>> Opening or reopening a log file will append to the file. >> >> That should be the case only if the log file was closed due timeout or >> max >> open limit reached; because that would then mimic the behavior of >>

AW: Enhanced FileAppender

2006-10-05 Thread Patrick Wyss
> -Ursprüngliche Nachricht- > Von: Bender Heri [mailto:[EMAIL PROTECTED] > > hi Wyssli :-] sali, heri > 1. Maybe I cited the wrong desing pattern. You probably right > that the strategy pattern would match cleaner (it's an > academic question). excuse me for being academic :-D to be

Re: Enhanced FileAppender

2006-10-04 Thread Curt Arnold
On Oct 4, 2006, at 4:22 PM, Leo Lima wrote: Hello, Curt. I agree with you on almost all of them, but: A configurable limit on the number of writers open at any one time. A configurable limit on the time a writer will rename open without any writes. It would be something like 'whichever

Re: Enhanced FileAppender

2006-10-04 Thread Leo Lima
Hello, Curt. "Curt Arnold" <[EMAIL PROTECTED]> escreveu na mensagem news:[EMAIL PROTECTED] > I'll try to flesh out a sandbox project for this at ApacheCON US 's > Hackathon next week. I don't know of any other log4j developers that > will be there, but at least one log4net developer will be at

Re: Enhanced FileAppender

2006-10-04 Thread Curt Arnold
I'll try to flesh out a sandbox project for this at ApacheCON US 's Hackathon next week. I don't know of any other log4j developers that will be there, but at least one log4net developer will be attending. It would be nice if the design could support the existing functionality of KeyFileAp

Re: Enhanced FileAppender

2006-10-03 Thread Leo Lima
Hello, Bender. > 1. my proposal is valid for all FileAppender's and its derivations > (RollingFileAppender, DailyRollingFileAppender) and not only for a > specialized subclass (hence design pattern 'strategy') I agree. > 2. KeyFileAppender supports only one MDC value, and this is only appended

RE: Enhanced FileAppender

2006-10-03 Thread Bender Heri
> -Original Message- > From: patrick [mailto:[EMAIL PROTECTED] > Sent: Tuesday, October 03, 2006 11:09 AM > To: [email protected] > Subject: Re: Enhanced FileAppender > > > > hi heri, > > i like the idea a lot. > however (admittedly without thinkin

RE: [SPAM (DNS Blacklist)] - Re: Enhanced FileAppender - Sending mail server found on sbl-xbl.spamhaus.org

2006-10-03 Thread Bender Heri
Leo Lima > Sent: Tuesday, October 03, 2006 4:16 PM > To: [email protected] > Subject: [SPAM (DNS Blacklist)] - Re: Enhanced FileAppender - Sending > mail server found on sbl-xbl.spamhaus.org > > > Hello Bender. > > > Problem: > > A often asked issu

Re: Enhanced FileAppender

2006-10-03 Thread Leo Lima
Hello Bender. > Problem: > A often asked issue in user list is the problem to separate log files > dependent on different criterias, like a client-ID in a server > environment, a mandant- or task-ID in scheduler applications, etc. > Although it is possible to achieve this with the existing log4

Re: Enhanced FileAppender

2006-10-03 Thread patrick
----- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Enhanced-FileAppender-tf2371544.html#a6616626 Sent from the Log4j - Dev mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Enhanced FileAppender

2006-10-02 Thread Bender Heri
Hello all Since in user list nobody commented my suggestion for an enhancement of the FileAppender I will repeat it here. Problem: A often asked issue in user list is the problem to separate log files dependent on different criterias, like a client-ID in a server environment, a mandant- or tas