This content has been marked as final.
Show 2 replies
-
1. Re: Recreate Log Files
darranl Aug 31, 2004 8:50 AM (in response to ssanjeev)What are you trying to do? Why don't you configure Log4J to truncate the log files after they reach a maximum size, that way you will be able to control the sizes.
-
2. Re: Recreate Log Files
ssanjeev Aug 31, 2004 10:06 AM (in response to ssanjeev)Here is what we are trying to achieve:
1. On a monthly basis we run an archive script that tars/compresses the log files etc... and removes the log files from the directory where it originally resides, making room for the newer logs.
2. We have the log rotation size set too, size is totally under control.
The problem is when we remove the logs files that JBoss is writing, when JBoss is running, they never get recreated.
Is there anyway to make JBoss recreate these logs?
Hope this gives a better picture...
Thanks