Return only error-level JSON log lines.
Section: Logs and Reporting
Filter error logs
bash
bash
cat app.log | jq 'select(.level == "error")'Explanation
Simple and effective for local debugging.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Logs and Reporting