chore(debug): co-locate per-UID logs with dumps
Per-UID dossier logs moved from /data/adb/tricky_store/logs to /data/local/tmp/teesim, beside the .bin dumps, so the whole debug trail comes off the device in one `adb pull /data/local/tmp/teesim/` with no root and no /sdcard hop. The release purge now sweeps .log/.log.1 from the diagnostic dir and keeps legacy sweeps of both old locations (loose /data/local/tmp and the module config dir) so upgrading to a release build leaves nothing behind. Repoint package.sh --clear-logs to the new path.
This commit is contained in:
+1
-1
@@ -158,7 +158,7 @@ deploy_zip() {
|
||||
|
||||
if [[ "$CLEAR_LOGS" == true ]]; then
|
||||
bold "==> Clearing per-UID diagnostic logs"
|
||||
adb shell "rm -f /data/adb/tricky_store/logs/teesim-uid-*" 2>/dev/null || true
|
||||
adb shell "rm -f /data/local/tmp/teesim/teesim-uid-*" 2>/dev/null || true
|
||||
fi
|
||||
|
||||
bold "==> Deploying $name"
|
||||
|
||||
Reference in New Issue
Block a user