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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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: 39541
    
  27
Welcome to JavaRanch.

FileAppender does not support rolling over. Use a RollingFileAppender instead.


Ping & DNS - updated with new look and Ping home screen widget
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Log4j
 
Similar Threads
Upload Files in User Defined Directories/Database
editing a line of a txt file with a thousands of line
unable to downladmultiple file?
referring to a file within src folder
Error reading properties file