aspose file tools
The moose likes Other Open Source Projects and the fly likes Delete Logfiles generated using log4j when jboss is running Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "Delete Logfiles generated using log4j when jboss is running" Watch "Delete Logfiles generated using log4j when jboss is running" New topic
Author

Delete Logfiles generated using log4j when jboss is running

luceene works
Greenhorn

Joined: Feb 22, 2006
Posts: 2
In my application, a specific module creates log files using log4j in JBOSS. The modules generates a new log file every time it is run. The problem is jboss doesn't allow to delete the log files when it is running.

I have to shutdown the JBOSS and then delete the log files. This is not possible in production scenario.

I want to delete those log files when jboss is running.
 
Consider Paul's rocket mass heater.
 
subject: Delete Logfiles generated using log4j when jboss is running