Skip to content

Conversation

@xr-gh
Copy link

@xr-gh xr-gh commented Jan 13, 2026

Prior to this change the logcat collection would be missing logcat messages that got created while the logcat collection was suspended if the logcat collection got subsequently resumed.

This change stores the local time when the adb connection got suspended, so that we can use it to specify from which point in time we want to collect logcat messages again. This ensures that the final log file contains the log messages while the logcat collection was suspended once the logcat collection got resumed.

Fixes #1000

@xpconanfan xpconanfan self-requested a review January 14, 2026 20:32
@xpconanfan xpconanfan added the bug label Jan 14, 2026
@xpconanfan xpconanfan added this to the Mobly Release 1.13.1 milestone Jan 14, 2026
Prior to this change the logcat collection would be missing logcat
messages that got created while the logcat collection was suspended if
the logcat collection got subsequently resumed.

This change stores the local time when the adb connection got suspended,
so that we can use it to specify from which point in time we want to
collect logcat messages again. This ensures that the final log file contains
the log messages while the logcat collection was suspended once the
logcat collection got resumed.
@xr-gh xr-gh force-pushed the adb_resume_logging branch from c5e6855 to 894493f Compare January 15, 2026 00:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

adb logcat collection skips over log messages while suspended

2 participants