aspose file tools*
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

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 "related to Log4J" Watch "related to Log4J" New topic

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.

David Newton

Joined: Sep 29, 2008
Posts: 12617

Use a rolling file appender (or similar) and set a threshold.
It is sorta covered in the JavaRanch Style Guide.
subject: related to Log4J
Similar Threads
web app
URGENT -- secure audit logging
Where to find tomcat access logs?
Get source using Apache Httpclient
any example how to use logs in project