commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From commons-...@jakarta.apache.org
Subject [Jakarta Commons Wiki] Updated: Digester/FAQ
Date Thu, 15 Jul 2004 04:35:50 GMT
   Date: 2004-07-14T21:35:49
   Editor: SimonKitching <simon@ecnetwork.co.nz>
   Wiki: Jakarta Commons Wiki
   Page: Digester/FAQ
   URL: http://wiki.apache.org/jakarta-commons/Digester/FAQ

   add entry about enabling debugging output for digester

Change Log:

------------------------------------------------------------------------------
@@ -72,3 +72,18 @@
 and !RulesBase classes are not supposed to be modified by the parsing, ie are 
 "stateless" with respect to the sax parsing stage and so are pretty safe to reuse.
 
+=== How do I enable debugging output for Digester? ===
+
+Digester uses the commons-logging package. Commons-logging can be configured in 
+many different ways, but the simplest mechanism is to run Java with the following options:
+{{{
+  java -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.SimpleLog \
+       -Dorg.apache.commons.logging.simplelog.defaultlog=debug \
+        your.main.class.name
+}}}
+
+An alternative is to ensure that log4j.jar is in the classpath, then create a log4j.xml or
log4j.properties file
+with the appropriate logging categories enabled, and place that configuration file in a directory
which is in
+the classpath. See http://logging.apache.org/log4j/docs for more information on log4j.
+
+For more options, see the commons-logging project documentation.

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message