Log4cxx::rolling::RollingFileAppender is designed to use an arbitrary
triggering policy. Drfa is just an instance precinfigured with a
specific policy. Instead of writing a new appended, you should
consider writing a custom triggering policy.
On Jul 29, 2008, at 6:48 AM, "Moshe Matitya"
<[EMAIL PROTECTED]> wrote:
I am interested in extending DailyRollingFileAppender. The existing
appender can be configured to roll over at intervals like once a
month,
once a week, once a day, once a half-day (AM/PM), once a minute, etc.
What I need is to be able to roll over at other intervals in between,
such as every ten minutes. Does anyone know of an already-written
appender that supports this? Alternatively, where can I find
documentation of what I need to do to write a new appender (for
log4cxx
of course, as opposed to log4j), and what I'd need to change from
DailyRollingFileAppender to support the added functionality?
Thanks,
Moshe