browse

2 Minute Read

| Steps to Obtain Logs from CCU with one of the below two options

Incase a bug or unexpected behavior in a particular deployed setup is viewed on a CCU, in order to help development teams to resolve these on-field observed issues, capturing logs will assist in faster resolution . The captured logs will need to be passed on to engineering teams along with captured videos in the bugs raised.

Capturing Logs to SD-Card [without PC]

  • CCU hosts a hidden Engineering/debug Menu. It can be launched by long-pressing (3 seconds or more) the 75F logo.
Capture Logs to SD-Card

This option could be used to instantly collect Android logs to SD Card when a bug is observed in the field.

This does not require a PC with adb connection and avoids the logs being lost due to delay when Android logging rotates the internal circular buffer.

And all the files together can be later pulled or sent to an email from the tablet.

Capturing adb logs with USB connection to the device:

adb is included in the Android SDK Platform-Tools package.

Any adb commands can be run from here.

Connection and Running of Commands

  • Connect the device using USB
  • Open command prompt (location: wherever user wants to save the log files)
  • Run “adb devices”
  • >List of devices attached >0123456789ABCDEF device
  • adb -s 0123456789ABCDEF logcat -v threadtime > file1.txt
    or adb logcat -v threadtime > file.txt 

If there is only one device connected to the pc.,

We can simply use "adb logcat -v threadtime > file.txt" for log capturing

Note: -s <device iD> is required when there are multiple tablets connected to the PC and you want to run logcat on one of them.

blobid8.jpg

  • Command to Stop the log capture:
  • Press Ctrl+C
  • Check the file.txt log file created
Previous
Next

Comments

0 comments

Please sign in to leave a comment.

Was this article helpful?

0 out of 0 found this helpful
Powered by Zendesk