Alter the cruisecontrol log with XSLTLogPublisher
- by daramarak
We build our project from CruiseControl.
We have a ant script running some exec commands, and the output of this is placed in the CDATA part of that message, and its priority is set to "info".
Now I have created an XSL that modifies this priority depending on the CDATA output, so it creates a new logfile that I want CruiseControl to use.
I tried to do this by using XSLTLogPublisher tag like this
<xsltlogpublisher directory="${log.dir}" outfile="${logname}" xslfile="${transform}" />
But it doesn't seem to work. No error is logged from cruisecontrol no changes are done in the log file, might it be that cruisecontrol have problems transforming its own log, or are the publishers invoked after the actual log is published as a web page?
Can anyone provide some sort of solution to my problem?