Hi everybody, It may be a quite simply question.. What does it mean to have 'debug=0' ? : <Context path="/MyWebapp" docBase="MyWebapp" debug="0" reloadable="0"/>
chanoch wiggers
Author
Ranch Hand
Joined: May 24, 2001
Posts: 245
posted
0
you can set the level of logging that is available to your application. Basically, the logging in the servlet spec allows you to see differently grained versions of logging messages. You would set the logging ot quite high in development so that you find out at each step what is happening in your app. Once it goes into production you only want to see errors. In the old spec, you then checked the debug level: if(debug>0) debug("blah blah"); etc, etc
chanoch<p><a href="http://www.amazon.com/exec/obidos/ASIN/1861007736/" target="_blank" rel="nofollow">Author of Professional Apache Tomcat</a></p>