ant (apache): logfile als XML Datei erstellen

c-mule

Grünschnabel
Hallo, ich möchte in einer build.xml Datei ein logfile als XML Datei erstellen.
Mit record bekomme ich jedoch lediglich ein Textfile.

Bsp.
<target>
<record name="log.txt" action="start"/>
... mach was ...
<record action="stop"/>
</target>

Wie bekomme ich ein logfile als XML-Datei mit entsprechende Tags (<error>, <echo> usw.)?

Danke und viele Grüße
 
Zurück