| Ticket Hash: | bc039d08043eb659e3d0e7b31e613b86aab46053 | ||
| Title: | feature requests: summary files, section discard and toplevel file | ||
| Status: | Open | Type: | Feature_Request |
| Severity: | Important | Priority: | Immediate |
| Subsystem: | Resolution: | Open | |
| Last Modified: |
2013-02-28 19:00:57 13.76 years ago |
Created: |
2013-02-28 16:21:53 13.76 years ago |
| Version Found In: | |||
| Description: | ||||
|
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 matt added on 2013-02-28 19:00:57 UTC: (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”) # stats summary simplify to a single command: (stats “summary”) <- default to some format “scm”? (stats “summary” “json”) <- pick a supported format (stats “summary” “csv”) (stats “summary” “scm”) 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? | ||||