Design Local Log Retention and Threshold Alerts
Create a lightweight Termux workflow that rotates supplied logs, preserves hashes, and emits transparent threshold alerts without background surveillance.
Create a lightweight Termux workflow that rotates supplied logs, preserves hashes, and emits transparent threshold alerts without background surveillance.
Prepare 25m · Build 105m · Verify 25m · Document 25m
Work only inside the folder created by Smartphone-Academy.py prepare log-retention-alerting. Use the supplied fictional samples or data you are explicitly authorized to handle.
Prepare the Termux workspace
Open Termux in the Academy folder and create the safe workspace. The companion generates samples, notes, and evidence files under your account.
python Smartphone-Academy.py prepare log-retention-alertingNo root. Work only with the supplied files under $HOME.Practical mission
- Define retention by file age and total storage instead of deleting files blindly
- Archive and hash logs before removing any disposable source copy
- Create threshold alerts for repeated fictional warnings and explain the chosen limits
- Test normal, boundary, and burst scenarios and document missed or noisy alerts
A rotate_and_alert.py program, retention-policy.md, archived samples, and alert-results.json.
Quality gate
Analyst reflection
Which result from “Test normal, boundary, and burst scenarios and document missed or noisy alerts” needs additional evidence before it could support a real operational decision?
After checking the deliverables, run python Smartphone-Academy.py complete log-retention-alerting. Progress is stored locally in the Termux home directory.