Created
June 30, 2009 02:01
-
-
Save virtix/137937 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <property name="log.parser" value="=C:\\Program Files\\Log Parser 2.2\\LogParser.exe"/> | |
| <taskdef name="frantic" classname="org.mxunit.xant.logparser.FusionReactorLogParser" | |
| classpath="../xant.jar" /> | |
| <!-- generate HTML reports from all the logs in 'mylogs' --> | |
| <frantic logparser="${log.parser}" logdir="mylogs/" | |
| format="html" maxrows="1" type="all" outputdir="out"/> | |
| <!-- addhoc logparser sql that generates CSV and appends each | |
| query to custom-log.log | |
| --> | |
| <frantic logparser="${log.parser}" output="csv" input="csv" filemode="0" headers="off"> | |
| <sql> | |
| select top 10 * into out/custom-log.log from fixture/application.log | |
| </sql> | |
| <sql> | |
| select top 10 * into out/custom-log.log from fixture/mxunit.log | |
| </sql> | |
| </frantic> | |
| <!-- addhoc logparser sql that generates HTML from fusion reactor request --> | |
| <frantic logparser="${log.parser}" logdir="fixture/" | |
| maxrows="100" type="request" | |
| outputdir="out" format="html" | |
| direction="asc" filter="statuscode > 400" | |
| id="my-reports" /> | |
| <!-- | |
| addhoc logparser sql that generates XML from coldfusion logs and appends | |
| each query to out/AppendLog.xml | |
| --> | |
| <frantic logparser="${log.parser}" output="xml" | |
| input="csv" | |
| rootname="cfapplog" | |
| rowname="cfentry" | |
| compact="ON" filemode="0" schemaType="0"> | |
| <sql> | |
| select top 10 * into out/AppendLog.xml from fixture/application.log | |
| </sql> | |
| <sql> | |
| select top 10 * into out/AppendLog.xml from fixture/mxunit.log | |
| </sql> | |
| </frantic> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment