| Summary: | Severity not parsed correctly for some Apache access log records | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Dave Smith <smith> |
| Component: | TPTP.monitoring | Assignee: | Dave Smith <smith> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P1 | CC: | rohit.shetty |
| Version: | unspecified | Keywords: | plan |
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows 2000 | ||
| Whiteboard: | closed460 | ||
| Attachments: | |||
|
Description
Dave Smith
Created attachment 50006 [details]
log with records that rules parser doesn't parse severity correctly
Created attachment 50007 [details]
log with records that static parser doesn't parse severity correctly
Deferring this to 4.4 as it cannot be contained in 4.3. Added sizing. Targetting to have this fixed in i2. With the static parser the parsing of the file EDE also seems to have a problem since it includes all the content in the record till the end for most of the records in the attached log. Created attachment 59967 [details]
Patch for the problems described in this defect
Attached the patch to fix the problems described here.
Module: org.eclipse.hyades.logging.parsers
Please review the patch and let me know if you have any comments.
Created attachment 60061 [details]
updated example log and benchmark files
Ive run the junit tests for this and attached the updated example log and benchmark files I committed the fix included in the attached patch to TPTP Head CVS. However, I have not committed the new example.log or benchmark files because the following benchmark files need to be updated as well: access_filter_static.out static.out Rohit, please attach these updated benchmark files. Dave, There is no change required for access_filter_static.out as the filtered content is still the same as before. And as far as the static.out is concerned, i dont see any test case that runs the static parsers (For Apache access and Apache Error) and compares the benchmark files. Seems like a problem .... Created attachment 60673 [details]
Static adapter output
Out file for static adapter attached here.
(In reply to comment #11) > Dave, > There is no change required for access_filter_static.out as the filtered > content is still the same as before. > > And as far as the static.out is concerned, i dont see any test case that runs > the static parsers (For Apache access and Apache Error) and compares the > benchmark files. Seems like a problem .... > Dave, We might need to fix this in our test cases. Please advice. Created attachment 60674 [details]
out file attached here, ignore previous attachment
Created attachment 61597 [details]
All benchmar and log files
This zip contains all the files put together. I have also updated the log and the benchmark files. Please use this to check in.
I committed the new example.out file. I'll commit the new benchmark files when I commit the files for 172064. As of TPTP 4.6.0, TPTP is in maintenance mode and focusing on improving quality by resolving relevant enhancements/defects and increasing test coverage through test creation, automation, Build Verification Tests (BVTs), and expanded run-time execution. As part of the TPTP Bugzilla housecleaning process (see http://wiki.eclipse.org/Bugzilla_Housecleaning_Processes), this enhancement/defect is verified/closed by the Project Lead since this originator of this enhancement/defect has an inactive Bugzilla account and considered to be fixed. If this enhancement/defect is still unresolved and reproducible in the latest TPTP release (http://www.eclipse.org/tptp/home/downloads/), please re-open. |