Are you saying that when it reaches 2K it is creating a new backoffice.log but not creating the archive (backup) copy?
-----Original Message----- From: Rick Reumann [mailto:[EMAIL PROTECTED]] Sent: Friday, January 03, 2003 11:58 AM To: Struts Users Mailing List Cc: [EMAIL PROTECTED] Subject: Re[2]: [OT] some log4j problems using RollingFileAppender not creati ng a backup file On Friday, January 3, 2003, 11:27:08 AM, Bill wrote: SB> Rick, I have had this working with Log4j 1.2.6 on both solaris SB> and windows. I saw your post on the struts-atlanta group about SB> this and noting some possible windows file locking issue. Have SB> you tried a different path to see if that makes any difference? SB> Maybe use a relative file path? Man, I'm stumped even more by all of this:) ... I tried having a log file in all different places and with all different path set ups. Behavior seems to always be the same. The only small oddity I've found is that if I let the log fill up on it's own up to capacity (2K) it will just the same log file over again when it gets too big. However if I manually cut and past to fill up the file to say 5K and then use the app which will write to the log file it doesn't start the file over and keeps writing to it (until I restart the server). Neither scenario creates a backup though so I'm still stuck there. I'm going nuts here. You sure this log4j properties file looks ok? (on this last attempt I took out all paths and it writes the log file right in the bin folder). log4j.rootCategory=ERROR, rolling log4j.logger.com.adp=DEBUG, rolling log4j.logger.corporate=DEBUG, rolling log4j.appender.stdout=org.apache.log4j.ConsoleAppender log4j.appender.stdout.layout=org.apache.log4j.PatternLayout log4j.appender.stdout.layout.ConversionPattern=%5p [%t] (%F:%L) - %m%n log4j.appender.rolling=org.apache.log4j.RollingFileAppender log4j.appender.rolling.File=backoffice.log log4j.appender.rolling.MaxFileSize=2KB log4j.appender.rolling.MaxBackupIndex=5 log4j.appender.rolling.layout=org.apache.log4j.PatternLayout log4j.appender.rolling.layout.ConversionPattern=%d{MM/dd/yy hh:mm:ss a } %-5p %c - %m%n Any other ideas? Thanks for the help so far. -- Rick mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>