mercredi 6 mai 2015

Stopping eclipse LogCat to receive logs

I am working on Unity based Android application which sends 5000 logs in a second. To Debug, I need to remove USB cable to check the logs otherwise news logs will be overridden by old ones.

I know I can increase the no of lines for logging, but what I want is stop getting logs so that I can read the logs logged and can work on them.

I know I can stop adb server with adb kill-server command, but the problem is after running that command in Command prompt, if I browse LogCat logs the tab is getting switched to Console tab which is showing Connection attempts.

[2015-05-06 14:30:26 - DeviceMonitor] Adb connection Error:An existing connection was forcibly closed by the remote host
[2015-05-06 14:30:28 - DeviceMonitor] Connection attempts: 1
[2015-05-06 14:30:30 - DeviceMonitor] Connection attempts: 2
[2015-05-06 14:30:32 - DeviceMonitor] Connection attempts: 3

I want to stop getting logs without removing USB cable so that I can browse the logs to debug.

Aucun commentaire:

Enregistrer un commentaire