JBoss Community

Re: How to set the Jboss server to truncate the log file contents back to 0 when it is restarted

created by Peter Johnson in Beginner's Corner - View the full discussion

I do not know of anything that can do that in Windows (or in Linux for that matter).

 

One thing you could do to reduce the rate at which those files grow is to disable the CONSOLE log. In the D:\jboss\server\wfc\conf\jboss-log4j.xml file, for the CONSOLE appended, set the Threshold value to "off" or to "error". Another option is to remove the CONSOLE appender (and all reference to in within the jboss-log4j.xml file) entirely.

Reply to this message by going to Community

Start a new discussion in Beginner's Corner at Community