diff --git a/android/adb_logcat_monitor.py b/android/adb_logcat_monitor.py index aeaef0b09..35ef7905b 100755 --- a/android/adb_logcat_monitor.py +++ b/android/adb_logcat_monitor.py @@ -126,6 +126,7 @@ def main(base_dir, adb_cmd='adb'): while True: for device_id in GetAttachedDevices(adb_cmd): if not device_id in devices: + subprocess.call([adb_cmd, '-s', device_id, 'logcat', '-c']) devices[device_id] = (None, 0) for device in devices: