You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by Rich Gibbs <ri...@enhansiv.com> on 2002/12/04 21:41:47 UTC

Rolling appender, that contains standard err/out

Has anyone come across the need to be able to have the standard streams of
stdout, and stderr go to a rolling logfile?

I played with extending the rollinglog appender, and have a working version.
I'm not completly happy in that it will only roll, when logging is done to a
category, but the size is incremented for standard streams, so as long as
atleast some of the logging goes to a category, the logs will roll properly,
or atleast reasonably...