You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by Steve Cohen <St...@ignitesports.com> on 2002/05/01 01:09:19 UTC

DailyRollingFileAppender

I am new to log4j (version log4j-1.2beta4) and am just kicking its tires, seeing the available options.

The following puzzles me, though

With the following in my configuration file:

log4j.appender.R=org.apache.log4j.DailyRollingFileAppender
log4j.appender.R.File=BadExample.log
log4j.appender.R.DatePattern='.'yyyy-MM-dd-HH-mm

That is my understanding of how the docs specify to implement this functionality.

I find that the rollover functionality is not working.  The logging continues to flow only to BadExample.log.  No rollovers occur.

What am I doing wrong?

-----------------------------------------------------------------
Steve Cohen
Sr. Software Engineer
Ignite Sports, Inc.
4410 N. Ravenswood
Chicago IL 60640
(773)-293-4342
stevec@ignitesports.com 



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>