OBJECTIVE

Create a Python tool that converts mixed local log formats into consistent JSON records.

TIME PLAN

Prepare 20m · Build 110m · Verify 30m · Document 20m

Working boundary

Work only inside the folder created by Smartphone-Academy.py prepare python-log-normalizer. Use the supplied samples, your own phone, or systems you are explicitly authorized to administer.

Prepare the Termux workspace

Open Termux in the Academy root and prepare this lab with the local companion. It creates safe samples, notes and evidence files under your Termux account.

Android + Termuxpython Smartphone-Academy.py prepare python-log-normalizerNo root. Keep the workspace under $HOME and avoid personal identifiers in evidence.

Practical mission

  1. Define a small schema for timestamp, level, source and message
  2. Parse at least two supplied log formats without crashing on malformed lines
  3. Write normalized JSON Lines output and a rejected-record file
  4. Test repeatability and document assumptions about time zones and encoding
EVIDENCE TO PRODUCE

A tested Python normalizer, sample output and error-handling notes.

Quality gate

The scope, date and tested device or workspace are clearly identified.
Every conclusion points to a command result, setting, source or measured observation.
Another learner can repeat the procedure without guessing hidden steps.
Limitations, uncertainty and any skipped checks are recorded honestly.

Analyst reflection

Which result from “Test repeatability and document assumptions about time zones and encoding” needs stronger evidence before it can support a real decision?

Complete in Termux

After checking the evidence, run python Smartphone-Academy.py complete python-log-normalizer. Progress is stored locally in the Termux home directory.

Extended Smartphone Practice

Continue learning

Back to Smartphone Academy