Overview
Whether you’re triaging a broken build in a pull request or digging into a flaky test that only happens on main, logs are now a much better experience in GitHub Actions. You’ll be able to zoom in locally or investigate patterns globally across all your CI runs.Basics
Query Syntax Guide
Let’s break down the query syntax:Property Filters
You can search and filter your logs using the following criteria:
In this example, we are filtering for logs from the
main branch and only showing logs with severity error or warn:
Substring Search
You can search for text across your logs using the log search bar. For multi-word phrases, use quotes. In this example, we are searching for logs containing the phrase “failed”:Exclude Matches
You can exclude matches by prefixing a search term with-. In this example, we are excluding logs containing the phrase “econn refused”:
Escaping Special Characters
- Quotes: Escape with backslash:
\" - Backslashes: Escape with backslash:
\\ - Keywords: Wrap AND/OR in quotes to search literally:
"AND""OR"