[MAGNOLIA-4022] Provide script for parsing the logs Created: 09/Mar/12 Updated: 16/Mar/12 Resolved: 13/Mar/12 |
|
| Status: | Closed |
| Project: | Magnolia |
| Component/s: | testing |
| Affects Version/s: | 4.4.6 |
| Fix Version/s: | 4.5.2 |
| Type: | Improvement | Priority: | Neutral |
| Reporter: | Robert Šiška | Assignee: | Robert Šiška |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Template: |
|
||||||||||||
| Acceptance criteria: |
Empty
|
||||||||||||
| Task DoD: |
[ ]*
Doc/release notes changes? Comment present?
[ ]*
Downstream builds green?
[ ]*
Solution information and context easily available?
[ ]*
Tests
[ ]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
||||||||||||
| Description |
|
Script will monitor all specified log files and search for any errors. |
| Comments |
| Comment by Robert Šiška [ 09/Mar/12 ] |
|
This groovy script parses the logs and looks for the errors. Path is specified by command-line argument or in maven property <logspath></logspath>. The script returns RuntimeException when:
Error line is a line which starts with 'ERROR' or it contains 'RenderException'. |