Job Logs
Cheat sheet · https://pcornel.dk/topic.php?topic=5962
Answer
Job Logs are the bounded telemetry record for one schedulable or executable automation job, tying its inputs, environment, attempts, steps, outputs and final result to a unique job identity and parent workflow or pipeline.
Remember
- Job completed ≠ workflow completed.
- Job green ≠ target healthy.
- Retried job success ≠ first attempt irrelevant.
- Aggregated job log ≠ per-attempt evidence preserved.
First checks
- Job output per run (AWX/CI/Rundeck) — history
- Retention policy — storage
- Download/export of logs — investigation
Verify in this order
job run → output → stored
Where it usually breaks
Job logs prove the recorded execution of one job attempt; they do not prove downstream jobs, external side effects or workload acceptance unless separately observed.
Trigger → queue accepted → worker lease/pickup → task running → terminal result → target mutation/read-back → effective runtime state → workload. Preserve at least three independent checks: prerequisite/interface or identity/transport state; the owning control/service/policy state; then effective data-plane, backend or workload state. A healthy upstream boundary does not prove the downstream consumer or return path.
Job Logs observability proof-boundary map
| Boundary | Healthy evidence | Suspicious evidence |
|---|---|---|
| Identity / scope | Immutable source plus run/job/attempt and exact target IDs are explicit | Floating source, shared labels or ambiguous target scope make events hard to attribute |
| Telemetry path | Structured logs, metrics and traces are exported, timestamped, retained and correlated | Console-only output, missing data or broken correlation silently creates blind spots |
| Effective outcome | Job status is paired with target read-back and workload/service acceptance | Green execution state substitutes for effective target or service verification |
| Monitoring / closure | Rates, latency, freshness and alerts use explicit windows/objectives and tested recovery | Untested alerts, stale dashboards or one successful sample are treated as healthy system proof |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=5962