Meaningless Drivel is fun!*
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
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Delete Logfiles generated using log4j when jboss is running
 
Similar Threads
Avoid Generating the log files in jBoss.
log4j in tomcat - changing properties file
jboss-log4j: seperate logs for different applications
how to load logger properties dynamically
Set system property when jar is loaded?.