Skip to content

feat(sauce): Filter Android logcat by given tags#53

Merged
limbonaut merged 1 commit into
mainfrom
feat/logcat-filter
Jul 8, 2026
Merged

feat(sauce): Filter Android logcat by given tags#53
limbonaut merged 1 commit into
mainfrom
feat/logcat-filter

Conversation

@limbonaut

Copy link
Copy Markdown
Collaborator

Apprunner dumps the logcat as 10000 lines, making it hard to get the right information without filtering. This PR adds an optional SAUCE_LOGCAT_FILTER environment variable for Android SauceLabs sessions. When set, its whitespace-separated logcat filterspecs (tag[:priority], e.g. godot:V sentry-native:V *:S) are passed to the Appium session through the logcatFilterSpecs capability, trimming the otherwise very noisy system-wide Android log down to the requested tags at capture time so that app markers are not buried or evicted from the log buffer. When unset, behavior is unchanged and the full logcat is returned.

@limbonaut
limbonaut marked this pull request as ready for review July 8, 2026 12:22
@limbonaut

Copy link
Copy Markdown
Collaborator Author

Integration branch where it works: getsentry/sentry-godot#804

@tustanivsky tustanivsky left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! I think Unreal could benefit from having this integrated as well.

@bitsandfoxes bitsandfoxes left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@limbonaut
limbonaut merged commit 219f36f into main Jul 8, 2026
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants