JBoss Community

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

Hello All,

 

I am new to this forum and need your assistance. 

 

 

Our JBoss log file, "stderrwfc.log" keeps growing and its currently at 6GB. The log file is located in the following path: d:\jboss\bin\stderrwfc.log. If we don't do something we are going to be out of space on the server.

 

 

Where do I make this change so that log file doesn't grow anymore and how to do it? 

 

 

I'm looking into how to set the service to truncate that log back to zero when I restart the service. At the moment it is set to keep the log file and append on a restart.

 

 

We're close. If anyone know "log4j" configuration over there, that appears to be the key.

 

Any help would be greatly appericated.

 

Cheers

Steven    

Reply to this message by going to Community

Start a new discussion in Beginner's Corner at Community