Create a Unix command-line tool /app/bin/parse timestamps that reads a log file from stdin and produces a…
Create a Unix command-line tool /app/bin/parse timestamps that reads a log file from stdin and produces a…: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). Input format : Each line is a log entry in one of these formats (mixed arbitrarily): - TIMESTAMP LEVEL…
The task
**Input format**: Each line is a log entry in one of these formats (mixed arbitrarily): - `TIMESTAMP [LEVEL] message` - `TIMESTAMP [LEVEL] [COMPONENT] message` - `TIMESTAMP [LEVEL] [COMPONENT] [THREAD] message`
Part of ai-and/termgrade-environments.