permaculture playing cards*
The moose likes Other Open Source Projects and the fly likes related to Log4J Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "related to Log4J" Watch "related to Log4J" New topic
Author

related to Log4J

prathap venkata naga yelugula
Ranch Hand

Joined: Aug 13, 2008
Posts: 243
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

Joined: Sep 29, 2008
Posts: 12617

Use a rolling file appender (or similar) and set a threshold.
 
 
subject: related to Log4J