Create a command-line tool /app/normalize logs that reads a log file and outputs a normalized, aggregated…
Create a command-line tool /app/normalize logs that reads a log file and outputs a normalized, aggregated…: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). Input contract: - The tool accepts exactly one argument: the path to a log file. - The log file is a text…
The task
**Input contract:** - The tool accepts exactly one argument: the path to a log file. - The log file is a text file where each line is a log entry. - A log entry line has the format: `TIMESTAMP [LEVEL] MESSAGE` - TIMESTAMP is in ISO-8601 format with timezone: `YYYY-MM-DD HH:MM:SS+TZ:OFFSET` (e.g., `2024-01-15…
Part of ai-and/termgrade-environments.