• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Log4j

 
AnshumanSrivastava Srivas
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Pie
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to JavaRanch.

FileAppender does not support rolling over. Use a RollingFileAppender instead.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic