craigmcc 2003/01/18 11:43:00
Modified: doc/userGuide configuration.xml
src/share/org/apache/struts/action ActionServlet.java
Log:
Desupport the "detail" servlet init parameter, and remove it from the
documentation. Logging configuration for Digester is now done by configuring
the logging implementation that is used via commons-logging. The "detail"
value wasn't used for anything, and was only causing confusion.
Revision Changes Path
1.11 +0 -7 jakarta-struts/doc/userGuide/configuration.xml
Index: configuration.xml
===================================================================
RCS file: /home/cvs/jakarta-struts/doc/userGuide/configuration.xml,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- configuration.xml 29 Dec 2002 11:45:44 -0000 1.10
+++ configuration.xml 18 Jan 2003 19:43:00 -0000 1.11
@@ -698,13 +698,6 @@
</li>
<li>
- <strong>detail</strong> - The debugging detail level for the Digester
- we utilize to process the application module configuration files.
- Accepts values 0 (off) and 1 (least serious) through 6 (most serious).
- [0]
- </li>
-
- <li>
<strong>rulesets</strong> - Comma-delimited list of fully qualified
classnames of additional
<code>org.apache.commons.digester.RuleSet</code> instances that
1.141 +4 -19
jakarta-struts/src/share/org/apache/struts/action/ActionServlet.java
Index: ActionServlet.java
===================================================================
RCS file:
/home/cvs/jakarta-struts/src/share/org/apache/struts/action/ActionServlet.java,v
retrieving revision 1.140
retrieving revision 1.141
diff -u -r1.140 -r1.141
--- ActionServlet.java 31 Dec 2002 11:38:25 -0000 1.140
+++ ActionServlet.java 18 Jan 2003 19:43:00 -0000 1.141
@@ -195,9 +195,6 @@
* <li><strong>debug</strong> - TThe debugging detail level that controls how much
* information is logged for this servlet. Accepts values 0 (off) and from
* 1 (least serious) through 6 (most serious). [0]</li>
- * <li><strong>detail</strong> - The debugging detail level for the Digester
- * we utilize to process the module configuration files. Accepts
- * values 0 (off) and 1 (least serious) through 6 (most serious). [0]</li>
* <li><strong>rulesets</strong> - Comma-delimited list of fully qualified
* classnames of additional <code>org.apache.commons.digester.RuleSet</code>
* instances that should be added to the <code>Digester</code> that will
@@ -351,12 +348,6 @@
/**
- * The debugging detail level for configuration file parsing.
- */
- protected int detail = 0;
-
-
- /**
* The resources object for our internal resources.
*/
protected MessageResources internal = null;
@@ -1301,12 +1292,6 @@
debug = Integer.parseInt(value);
} catch (Throwable t) {
debug = 0;
- }
- try {
- value = getServletConfig().getInitParameter("detail");
- detail = Integer.parseInt(value);
- } catch (Throwable t) {
- detail = 0;
}
// Backwards compatibility hack for form beans of Java wrapper classes
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>