trace-summary ignores log metadata lines

Description

The trace-summary script ignores log file metadata, so it will fail
if the field positions change (such as when using the new log
extension data columns feature, or if someone decides to
reorder the conn.log columns for some reason), or if a conn.log
uses a non-default field separator.

Environment

None

Activity

Show:
Daniel Thayer
March 7, 2017, 4:25 PM

Branch "topic/dnthayer/ticket1674" in the trace-summary repo
contains the following changes:
1) When reading a conn.log file, trace-summary will now check if there are
any log metadata lines (previously, it ignored those lines),
2) trace-summary will now try to get the field separator, unset field string, and
field positions from the metadata lines (if any of these fail, then it just uses the
same hard-coded default values as before).
3) Added tests to verify this new functionality is working.
4) A bit of code cleanup in the parseConnLine() function.

Assignee

Unassigned

Reporter

Daniel Thayer

Labels

None

External issue ID

None

Components

Fix versions

Priority

Low
Configure