Palo Alto Networks Knowledgebase: How to Collect Logs (logcat) from an Android Phone

How to Collect Logs (logcat) from an Android Phone

Created On 02/07/19 23:58 PM - Last Updated 02/07/19 23:58 PM

While troubleshooting a VPN connection with an Android phone, it might be necessary to examine logs from the phone.

To gather logs (logcat) from an android phone, follow either one of the following processes.

Using ADB

  1. Install Android SDK from Make sure platform-tools is included (
  2. Install usb driver for the phone (
  3. Enable USB Debugging on your device. Go to settings, applications, development and tick "USB Debugging".
  4. Connect usb cable to the phone
  5. Go to the Android SDK directory (for example C:\Program Files\Android\android-sdk\platform-tools)
  6. Type adb shell
  7. Type logcat (ref:
  8. Collect the log while trying to connect to the gateway and browse

Using a log app

  1. Some applications from the play store allow easy access to the logcat log (CatLog and LogCollectors are examples but many other apps can perform the same task)

owner: kkondo

  • Print
  • Copy Link

Choose Language