No verbose matching output when no element matches

Bug #1834302 reported by Max Landauer
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
logdata-anomaly-miner - lightweight tool for log checking, log analysis
Fix Released
Medium
Markus Wurzenberger

Bug Description

The DebugMatchContext is expected to print the shortest unmatched data for unparsed log atoms. Usually, this is the remaining line starting from the last unmatched element.

However, when not a single element matches, the output is None. This is because the update method in the class DebugMatchContext is never called, leaving shortestUnmatchedData to its initialized value None. As a fix, I suggest to initialize the shortestUnmatchedData to matchData.

Revision history for this message
Markus Wurzenberger (mwurzenberger) wrote :

Fixed bug by initializing shortestUnmatchedData to matchData in MatchContext.py.

Changed in logdata-anomaly-miner:
status: New → Fix Released
importance: Undecided → Medium
assignee: nobody → Markus Wurzenberger (mwurzenberger)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.