-
1. Re: jboss.out growing massive
darranl Jun 1, 2005 5:15 PM (in response to thillm)Which version of Jboss are you using? Is it a default configuration or has someone changed the configuration.
I have never seen a default configuration have a file called jboss.out. How have you configured / installed JBoss so that there is a file called jboss.out? -
2. Re: jboss.out growing massive
thillm Jun 2, 2005 8:33 AM (in response to thillm)Some detail might have helped on my end. I'm using JBoss 3.2.3 and it is installed on a Unix platform (sun solaris). I have a feeling that anything that is supposed to go to the console is going to this file since we are running this as a background service which has no console. That is only a guess though. When I run the same version of the code on my local sandbox (windows) where there is a console I get no jboss.out file at all. Any suggestions would be greatly appreciated.
-
3. Re: jboss.out growing massive
darranl Jun 2, 2005 8:41 AM (in response to thillm)If you have a look at the log4j.xml in the default\conf folder you should be able to find the console appender.
The safest option would probably be to increase the Threshold all the up to error or fatal to reduce the information sent to the console.
I did think you could try redirecting the output to /dev/null so that it is discarded but if you are not careful certain errors not handled by log4j might be lost and if you forget this redirection later is could cause you problems. -
4. Re: jboss.out growing massive
thillm Jun 2, 2005 9:41 AM (in response to thillm)Thanks for the information. I think I found out how to start rollover by date on that file. Just needed to know where to look. I added the following to the console appender:
and
<param name="DatePattern" value="'.'yyyy-MM-dd"/>
Hopefully this will start rollover. If not, I'll set the threshold much higher, so that it doesn't log as much to that file.
Thanks again