Thursday, November 17, 2005

Java : Digester debug logging

So you are trying to figure out why Digester won't parse the XML correctly.

You need the debugger!

Just apply the following run-time switches:


where the levels (e.g. debug / info) at the end at the line are the levels you require.

(Note: the


is actually -D.

The console will spit out exactly what Digester is doing and it's all a whole lot easier to figure out.


No comments: