JBoss Community

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

created by Tony Sabore in Beginner's Corner - View the full discussion

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

Start a new discussion in Beginner's Corner at Community