Merge lp:~vila/udd/analyze_log into lp:udd
Proposed by
Vincent Ladeuil
Status: | Merged |
---|---|
Approved by: | John A Meinel |
Approved revision: | 419 |
Merged at revision: | 509 |
Proposed branch: | lp:~vila/udd/analyze_log |
Merge into: | lp:udd |
Diff against target: |
94 lines (+35/-7) 1 file modified
analyze_log.py (+35/-7) |
To merge this branch: | bzr merge lp:~vila/udd/analyze_log |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
John A Meinel | Approve | ||
Review via email: mp+74056@code.launchpad.net |
Commit message
Handle stdin by allowing a '-' log path.
Description of the change
While working on jubany, I generally have a
tail -F logs/driver/
running.
But there is too much noise there.
This patch add support for a '-' log file argument to accept stdin.
It also documents a bit better how the whole script is designed.
To post a comment you must log in.
... sent without the conclusion:
Being able to pipe the tail to 'analyze_log.py -' gives a better view of what is happening on the importer.
Looking to log file itself is still needed in some cases but overall, the filtered view better match my monitoring use case.