Author: markt Date: Tue Jul 7 14:16:27 2015 New Revision: 1689687 URL: http://svn.apache.org/r1689687 Log: Better docs for the debug attribute
Modified: tomcat/trunk/conf/web.xml tomcat/trunk/java/org/apache/catalina/servlets/CGIServlet.java tomcat/trunk/webapps/docs/cgi-howto.xml Modified: tomcat/trunk/conf/web.xml URL: http://svn.apache.org/viewvc/tomcat/trunk/conf/web.xml?rev=1689687&r1=1689686&r2=1689687&view=diff ============================================================================== --- tomcat/trunk/conf/web.xml (original) +++ tomcat/trunk/conf/web.xml Tue Jul 7 14:16:27 2015 @@ -42,7 +42,12 @@ <!-- parameters (default values are in square brackets): --> <!-- --> <!-- debug Debugging detail level for messages logged --> - <!-- by this servlet. [0] --> + <!-- by this servlet. Useful values range from 0 --> + <!-- to 5 where 0 means no logging and 5 means --> + <!-- maximum logging. Values of 10 or more mean --> + <!-- maximum logging plus debug info added to the --> + <!-- HTTP response. Note that any value of 10 or --> + <!-- more has the same effect. [0] --> <!-- --> <!-- fileEncoding Encoding to be used to read static resources --> <!-- [platform default] --> Modified: tomcat/trunk/java/org/apache/catalina/servlets/CGIServlet.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/servlets/CGIServlet.java?rev=1689687&r1=1689686&r2=1689687&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/catalina/servlets/CGIServlet.java (original) +++ tomcat/trunk/java/org/apache/catalina/servlets/CGIServlet.java Tue Jul 7 14:16:27 2015 @@ -239,7 +239,12 @@ public final class CGIServlet extends Ht private static final long serialVersionUID = 1L; - /** the debugging detail level for this servlet. */ + /** + * The debugging detail level for this servlet. Useful values range from 0 + * to 5 where 0 means no logging and 5 means maximum logging. Values of 10 + * or more mean maximum logging plus debug info added to the HTTP response. + * Note that any value of 10 or more has the same effect. + */ private int debug = 0; /** Modified: tomcat/trunk/webapps/docs/cgi-howto.xml URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/cgi-howto.xml?rev=1689687&r1=1689686&r2=1689687&view=diff ============================================================================== --- tomcat/trunk/webapps/docs/cgi-howto.xml (original) +++ tomcat/trunk/webapps/docs/cgi-howto.xml Tue Jul 7 14:16:27 2015 @@ -97,7 +97,10 @@ By default there is no value, which resu directory being used as the search path. The recommended value is <code>WEB-INF/cgi</code></li> <li><strong>debug</strong> - Debugging detail level for messages logged -by this servlet. Default is <code>0</code>.</li> +by this servlet. Useful values range from 0 to 5 where 0 means no logging and 5 +means maximum logging. Values of 10 or more mean maximum logging plus debug info +added to the HTTP response. Note that any value of 10 or more has the same +effect. Default is <code>0</code>.</li> <li><strong>executable</strong> - The of the executable to be used to run the script. You may explicitly set this parameter to be an empty string if your script is itself executable (e.g. an exe file). Default is --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org