File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

[LOG4J] need to trigger log creation and rollover from code

 
Cesar Coz
Ranch Hand
Posts: 32
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello, I have this requirement where in every iteration to the data base I need to create a new log with a custom name (e.g. <date>T<time>_<Iterationid>.log). and keep them for a custom ammount of days (e.g. 3)

So my question is if there is an appender that can create a new log every iteration with a custom name and a max backup.

pd. I'm using Log4J 1.2.15
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic