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.
So how is this related to jboss? This seems like a log4j issue.