On Tue, Sep 02, 2008 at 09:04:30PM +0000, Curt Arnold wrote:
> 
> 
> Could you compare it with the MultiFileAppender that has been
> languishing in the sandbox for a while?  Search the archives for
> MultiFileAppender.  Source code at
> http://svn.apache.org/repos/asf/logging/sandbox/log4j/multifile .

Hi Curt --

Glad I asked!  It looks to be nearly identical in base functionality,
but of course has a much more developed interface, and has many more
options to it.

It looks like it has two main "policies", a Pattern policy and a
Size policy.

The "Size" policy looks like it provides duplicate functionality that
the RollingFileAppender provides.  It increments an index appended to
the file after they get to a certain size.  I may be over simplifying
here -- but I think that RollingFileAppender provides this and more.

The "Pattern" policy is what my appender was supposed to solve, and I
think is what is "missing" from log4j right now.  Just from inspection,
it appears as though it would be slightly more complex than my
PatternFileAppender, but has more configuration options, and of course
is 1.2 compatible. :)


Is there a reason this has not made it into the official distribution?

-- 
David Britton <[EMAIL PROTECTED]>

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

Reply via email to