Artifacts Associated With Ticket bc039d08043eb659
Ticket change [e02c0eb06f] (rid 197) by matt on 2013-02-28 16:21:53:
- comment initialized to:
I have a request to have logpro ignore sections of a file and remove them from the output, maybe something like this: (section “abc” “a” “c”) (output:file “abd” “abc.txt”) ;; the section “abc” will be extracted and put in file “abc.txt” (output:discard “abc”) ;; the section “abc” will be discarded from the html and stdout output The other idea I think would be useful is to output a json file with the error stats. The question is how to structure logpro command line and output for this? Here is my proposal: The logpro command line and use of std out do not change but the following command stanzas become available: (output:json “summary.json”) ;; error results as json file (output:csv “summary.csv”) ;; error results as csv file (output:scm “summary.scm”) ;; error results as scheme/skill sexp file In addition to error stats I would put as much meta data as makes sense into the file. Run path, output file path, logpro version used, etc. I’d also like to have a logpro mechanism to create a top level html from a list of input json files: find . –name \*logpro.json | logpro -makeindex toplevel.html
- severity initialized to: "Critical"
- status initialized to: "Open"
- title initialized to:
feature requests: summary files, section discard and toplevel file
- type initialized to: "Code_Defect"
- comment initialized to:
Ticket change [2a121a4c0f] (rid 198) by matt on 2013-02-28 16:22:22:
- priority changed to: "Immediate"
- resolution changed to: "Open"
- severity changed to: "Important"
- type changed to: "Feature_Request"
Ticket change [f4575a0ae8] (rid 199) by matt on 2013-02-28 19:00:57:
- Appended to comment:
<hr /><i>matt added on 2013-02-28 19:00:57 UTC:</i><br /> <verbatim> (section “abc” “a” “c” output: “/dev/null”) <- prints to output, retains original log (section “abc” “a” “c” output: “abc.txt”) (section “abc” “a” “c” filter: “/dev/null”) <- prints to output, filters out from log (section “abc” “a” “c” filter: “abc.txt”) </verbatim> # stats summary simplify to a single command: <verbatim> (stats “summary”) <- default to some format “scm”? (stats “summary” “json”) <- pick a supported format (stats “summary” “csv”) (stats “summary” “scm”) </verbatim> The –makeindex option would be useful. Should also consider supporting existing *.html file the user may have already created. If you are going to support conversions of *.json to HTML, and the output above supports “csv” and “scm”, will it also handle those formats?
- Appended to comment: