File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

related to Log4J

 
prathap venkata naga yelugula
Ranch Hand
Posts: 253
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I need to capture some time period before(ex : 2 days) logs and i need to remove those logs
for reducing memory space in client location.

which approach i need to follow.

cheers!
Prathap.
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Use a rolling file appender (or similar) and set a threshold.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic