Peter Johnson [
https://community.jboss.org/people/peterj] created the discussion
"Re: How to set the Jboss server to truncate the log file contents back to 0 when it
is restarted"
To view the discussion, visit:
https://community.jboss.org/message/792648#792648
--------------------------------------------------------------
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
[
https://community.jboss.org/message/792648#792648]
Start a new discussion in Beginner's Corner at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]