Since you have a custom appender you can change its code to take the same type of config that AsyncAppender does.
On 6/21/07, ZalleCool <[EMAIL PROTECTED]> wrote:
ZalleCool wrote: > > > James Stauffer wrote: >> >> What does your custom appender do? Look at how AsnycAppender sends >> its output to another Appender. >> >> DK: I keep running into API spec. for the AsyncAppender for this, could >> you point me to an XML configuration for this. Thanks. >> >> DailyRollingFileAppender doesn't allow much variation between the >> active and rolled filename. Can you give an example of what you want? >> >> DK: The active file stays named as 'current' and the rolled over files >> get named as SomeService.log.20071206 >> >> On 6/21/07, ZalleCool <[EMAIL PROTECTED]> wrote: >>> >>> Hi there, >>> >>> I would like to be able to pipe the output of a custom appender to >>> DailyRollingFileAppender. How can I do that? Secondly, I want the name >>> of >>> the active file to be different from that of the rolled over log files. >>> Is >>> this possible with DailyRollingFileAppender? >>> >> >> -- >> James Stauffer http://www.geocities.com/stauffer_james/ >> Are you good? Take the test at http://www.livingwaters.com/good/ >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> >> > > -- View this message in context: http://www.nabble.com/Log4j-Appender-Piping-and-Rollover-tf3958043.html#a11236785 Sent from the Log4j - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- James Stauffer http://www.geocities.com/stauffer_james/ Are you good? Take the test at http://www.livingwaters.com/good/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
