aspose file tools*
The moose likes Other Open Source Projects and the fly likes Log4j Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "Log4j " Watch "Log4j " New topic
Author

Log4j

AnshumanSrivastava Srivas
Greenhorn

Joined: Aug 06, 2008
Posts: 4
Hi ,
I have the following log4j.properties file :


Even this layout is attach to the FileAppender . It is not making new XML file after the capacity gone above the MaxFileSize.

Can any have idea to roll over the new file

Thanks and regards
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42906
    
  69
Welcome to JavaRanch.

FileAppender does not support rolling over. Use a RollingFileAppender instead.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Log4j