Write a command-line tool /app/loganalyzer (Python script) that reads a system log file from a given path…
Write a command-line tool /app/loganalyzer (Python script) that reads a system log file from a given path…: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). Input format: A text file where each line is a log entry. Fields are separated by the character. The first…
The task
**Input format:** A text file where each line is a log entry. Fields are separated by the `|` character. The first line is a header that defines the column names. There is always at least one data line after the header. Columns present in every valid file: `timestamp`, `level`, `message`. Other columns may appear and…
Part of ai-and/termgrade-environments.