USER GUIDES

How to Pull Log Files from the Terminal

Overview

The Radix Device Management Platform includes a Live Terminal command for a remote Android device in your fleet. It opens a fully featured, live terminal with an ADB (=Android Debug Bridge) shell connection. The live terminal allows you to remotely debug an issue with a device, run exec scripts remotely, or download log files of Android commands. We will illustrate how to use terminal commands to pull log files of commands to the device.

Accessing the Live Terminal

You can access the live terminal from the Device Dashboard.

To access the Live Terminal:

1. Click on the Devices icon in the sidebar menu.

2. Click on the row of the device that you wish to access.

3. Click on Terminal in the Device Dashboard of that device.

The Live Terminal opens:

live terminal interface

Terminal Commands to View a Log File

Finding Your User ID

To see your user ID, use the following Android command:

whoami

Here is an example of running the whoami command:

The result is “u0_a86”. The “u0” means User ID 0.

Viewing a list of log files currently on the device

To see the log files currently on the device, use the following ls command:

ls /data/user/0/com.viso.mdm/files/

If the device User ID is something other than “0”, replace “0” with that User ID number.

Here is an example of the execution of the above command:

We see that there are five *.log files currently on the device.

Pulling the Log Files

To download one of the log files:

1. Enter the following command at the command prompt:

^collectfile:/data/user/0/com.viso.mdm/files/debug_YYYYMMDD.0.log

where you give the date of the log file in the format YYYYMMDD.

As an example of the above command, we will download the file debug_20250617.0.log.

2. We enter the command:

^collectfile:/data/user/0/com.viso.mdm/files/debug_20250617.0.log.
Terminal command to collect a log file

The Radix Device Management Platform provides us with a URL where we can download the log file.

3. Place your cursor on the URL, and right-click with your mouse to display the file:

Download url of log file

4. When we open the URL in a new tab, we will be able to view the log file:

Log file of terminal commands
How Can We Help?

Fill in the form and our team will mail you back.

Contact Us

Experience Radix in Action - request a Radix demo!










    Subscribe to our Newsletter
    Your information will be handled as detailed in our Privacy Policy

    Ready to see how Radix can revolutionize your device management? Request a personalized demo now and watch our powerful platform tackle your unique challenges. Our experts will guide you through the features that matter most to your business. Don’t just imagine the possibilities – see them firsthand!












      Your information will be handled as detailed in our Privacy Policy

      Experience Radix Live: Demo & Q&A Webinar

      Join us for an exclusive inside look at our cutting-edge platform. Get a live demo, a comprehensive introduction, and participate in an interactive Q&A session. See our solution in action. Secure your place now!