Use ADB to collect logs from your Mason developer kit
At times you may need to collect debug logs from your Mason device. This can be done locally on your machine using adb.
This guide will walk you through physically connecting to your Mason device, and collecting logs using
Looking for a way to remotely debug your device? Visit our Mason X-Ray guide
adbwith a Mason device connected over USB, you must enable USB debugging in the device system settings, under
Developer options. The
Developer optionsscreen is hidden by default. To make it visible, go to
Settings > About phoneand tap
Build number7 times or until you see a prompt ("toast") that says
You're now a developer!
Then press the
Backbutton until you exit the Settings app completely (or swipe right on it via the
Recentsmenu to close it)
Re-enter Settings, and scroll down to
Turn on USB debugging
Connect your device to your computer via USB. If prompted, check the box to always allow access to the device from the computer it is connected to.
Open a terminal window (on MacOS or Linux) or a Command prompt (on Windows), and navigate to the directory from step 1 above. The
adbtool can be found under the
To collect logs, enter
adb logcat -v threadtime > logs01.txt. This will start collecting logs to the named file.
Run through the scenario on the device.
Ctrl-Cin the terminal or command window from step 8 to exit
Send the file
logs01.txtor whatever you named it to Mason Support
- Contact us at firstname.lastname@example.org
- Visit our guide about Mason X-Ray to learn how to use
adbremotely on your devices in the field