Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Where does stdout.log come from?

 
Ulvi Cetin
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I need to turn off stdout.log file output, since the file is getting very large and unmanageble (750MB+). I just looked in to my config files and couldn't see any entry creating this file.

Thx.
 
Carol Enderlin
drifter
Ranch Hand
Posts: 1364
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You don't say what version of tomcat you're using.

Another post mentioned this:
To turn all that off, after you're done, you need to specify 'swallowOutput=true' in the Context in server.xml
 
Ulvi Cetin
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My Tomcat version is 4.1.29. I tried putting swallowOutput="true" in the Context tag, but didn't solve the problem. Any other suggestions.
 
Kim Kantola
Ranch Hand
Posts: 276
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
Reviving an old thread here. I was searching for the same answer to this problem, and can't seem to find a code example anywhere on the web regarding
swallowOutput="true".
Is this the way to do this? Code snip from my server.xml:



Or do I have to do this ?



The reason I ask is that my current Server.xml file has a DefaultContext tag but the only Context tag I have is



and I don't know if this examples context even applies to my application.

While I have you, I have been googling to try to find resources regarding how to configure server.xml and catalina.bat, and am having trouble finding info on this, even on apache.org, there are so many links and I can't seem to find the correct page which talks about these two files. Anyone have a good link they could send?

Thanks very much!

Kim
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic