article-detail-page
knowledge
close

Versity - How to pull device logs

Testing - Both methods outlined below requires the issue to be reproduced after logging is enabled. We are currently investigating a more proactive approach so that device logs are captured the first time the issue occurs.

Before using either method, you will need to have the Android SDK installed

Using ADB

  • Plug in the device and exit Launcher
  • Make sure developer options are on, and USB debugging is selected, change charging type to File transfer
  • Mac instructions
    • Note: you may have to add Spectralink's vendor ID if you have never pulled device logs for Spectralink device before. 
    • Open terminal and locate the device by navigating to the ADB folder (following the cd Desktop commands until you are in the platform-tools folder)
    • Enter ./adb logcat to start logs
    • Press ctrl-c to stop once issues have been captured
    • Enter ./adb logcat -d > /tmp/file.txt to stop copy the logs
    • Enter cp /tmp/file.txt ~/Downloads to move the folder into Downloads
    • Attach file.txt to where device logs are being requested.
  • Windows instructions
    • Open the command prompt (cmd) and navigate to the ADB folder (example: cd C:\Android\Sdk\platform-tools)
    • Enter adb logcat -v threadtime > log.txt
    • Press ctrl-c to stop once issues have been captured
    • Locate the log.txt file in the same folder from the first bullet point (example: cd C:\Android\Sdk\platform-tools)
    • Attach file.txt to where device logs are being requested.

Using Android File Transfer

  • Enable logging
    • Using the MDM
      • Load the Spectralink Logging application into the MDM and edit the App Config.
      • Assign application to the device that you need to pull logs from.
    • Manually
      • Exit Launcher
      • Open the Logging app
      • Tap the three dots in the top right
        • Tap Syslog settings then enable service
        • Tap back
      • Open Advanced debugging (pw is admin)
      • Tap Advanced logging again
        • Tap on Logcat, tap enable, then tap OK
        • Toggle Dload mode to ON
  • Reproduce issue
  • Plug in the device, make sure developer options are on, and USB debugging is selected, change charging type to File transfer
  • Grab the file inside Logcat that corresponds to the date/time logs are captured.
    • It can take 20 minutes for the folder to show up after turning on logging. This is the expected behavior.
  • Turn the logging off (either with MDM or manually) and go back into Launcher.

 

For more information on Versity logging, please refer to Spectralink's documentation.