A quick reference for Ant Debug Clues is provided in this topic.
How to get Ant logger file to working
Add the following to the ant call in the {subjectDITAMap}.bat file:
-logger org.apache.tools.ant.XmlLogger -logfile subject\{subjectname}\buildlog.xmll