Download Android Debug logs while in single app use

So far the only way to download a debug log is to send the script request_bug_report , click share on the tablet and download via the SOTI terminal. We use our devices with a lockdown single app use profile. Has anyone overcome the issue of having to click share on the device? I want to be able to do this in the background without disrupting the device while in use as it means down time in our fleet. 

4 years ago
Android
ANSWERS
RS
Rafael Schäfer
4 years ago (edited 4 years ago)

try following script to get the logs in sdcard folder:

copy /data/data/net.soti.mobicontrol.androidwork/databases/settings %sdcard% copy /data/data/net.soti.mobicontrol.androidwork/app_logs/mobicontrol.log %sdcard%   I'm not sure if this was a "solution" for this case but i think so. But even you could look into these folders directly via remote control.