[jboss-user] [Beginner's Corner] - Re: How to set the Jboss server to truncate the log file contents back to 0 when it is restarted

Peter Johnson do-not-reply at jboss.com
Thu Jan 17 11:24:14 EST 2013


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&containerType=14&container=2075]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20130117/dc625d12/attachment.html 


More information about the jboss-user mailing list