how to log digester with apache commons?
- by Bruce
Hi all
I'm having trouble getting digester to log anything. I'd be hugely grateful for any light anyone can shed.
In my code I'm doing this:
Digester digester = new Digester();
.. some digester set up stuff
// What on earth should go in here????
digester.setLogger(LogFactory.getLog("org.apache.commons.logging.Log"));
I have a commons-logging.properties file in my classpath as follows:
org.apache.commons.logging.Log=org.apache.commons.logging.impl.SimpleLog
org.apache.commons.logging.simplelog.log.org.apache.commons.digester.Digester=debug
org.apache.commons.logging.simplelog.log.org.apache.commons.digester.Digester.sax=info
I just get no debug info at all..
Thanks for your help!