Write a program log analyzer.py that reads a system log file from a path given as a command-line argument…
Write a program log analyzer.py that reads a system log file from a path given as a command-line argument…: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). TIMESTAMP is always ISO-8601 with timezone, with either space or 'T' separator between date and time. LEVEL…
The task
TIMESTAMP is always ISO-8601 with timezone, with either space or 'T' separator between date and time. LEVEL is one of: DEBUG, INFO, WARNING, ERROR, CRITICAL (case-sensitive). MESSAGE is the remainder of the line after the level and a space.
Part of ai-and/termgrade-environments.