Create a command-line tool at /app/log analyzer.py that reads one or more system log files and produces a…
Create a command-line tool at /app/log analyzer.py that reads one or more system log files and produces a…: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). Input contract: - The tool takes one or more file paths as command-line arguments. - Each file is a text file…
The task
**Input contract:** - The tool takes one or more file paths as command-line arguments. - Each file is a text file where each line is a log entry. - A log entry has the format: `TIMESTAMP [LEVEL] MESSAGE` - TIMESTAMP is ISO 8601 UTC with either `Z` suffix or `+00:00` offset (e.g., `2024-01-15T10:30:00Z` or…
Part of ai-and/termgrade-environments.