[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

Tony Sabore do-not-reply at jboss.com
Thu Jan 17 10:57:10 EST 2013


Tony Sabore [https://community.jboss.org/people/awara1] 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/792638#792638

--------------------------------------------------------------
I've deleted some of the standard rolling files to gain a bit of space. 

I don't want to drop the service during business hours.

I tried something like "echo > stderrwfc.log" but could not execute it because the service had the file locked. Do you have any tools or admin tricks to truncate a file while it's open?
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/792638#792638]

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/6c445113/attachment-0001.html 


More information about the jboss-user mailing list