HF RL Explorer

Create a command-line tool /app/logq that queries an Apache-style combined log file and prints matching…

Create a command-line tool /app/logq that queries an Apache-style combined log file and prints matching…: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). Input contract: - The tool reads a log file path from the first argument. - It reads one or more filter…

The task

**Input contract:** - The tool reads a log file path from the first argument. - It reads one or more filter expressions from remaining arguments. - Each filter is `FIELD=VALUE` where FIELD is one of: `ip`, `ts`, `method`, `url`, `status`, `size`, `ua`. - Multiple filters are combined with AND logic.

Part of ai-and/termgrade-environments.