Delete Logfiles generated using log4j when jboss is running
posted 9 years ago
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.