Test audit logs after a failed PDF job

10 May 2026

A technician holds a tool beside cables in a network cabinet.
Illustrative photograph. Cropped and resized. Photo by Field Engineer on Pexels. · Pexels License

The converter accepted three files, failed on the second and never began the third. Can an operator reconstruct that sequence from the logs alone? Test the job outcome and the outcome for each input separately. An overall failure cannot tell you whether the first file produced a usable result or whether the third was deliberately skipped.

Use a synthetic input set and inject an error at a known point. Record the test controller’s observation independently of the application logs. For the third file, the tester knows it was never started, but an operator who sees only an acceptance event cannot rule out delayed or missing telemetry.

Evaluating partial failure in a multi-file conversion job

Give the run a job identifier and each input its own file and attempt identifiers. Submit all three and trigger the controlled failure while the second input is processing. Capture application events, worker records and any committed outputs. Record timestamps and the system that observed each event. OWASP logging guidance

Here is one expected trace for a sequential converter configured to stop after the first failure. Event names are illustrative.

File ReferenceAcceptance EventProcessing EventTerminal EventAudit Classification
File 1 (DOC-101)Logged (ACCEPTED)Logged (STARTED)Logged (SUCCESS)Completed
File 2 (DOC-102)Logged (ACCEPTED)Logged (STARTED)Logged (FAILED)Failed
File 3AcceptedNo start in the traceNo terminal event in the traceOutcome unobserved from these logs alone

In this proposed three-stage trace, three item events for file one, three for file two and just the acceptance for file three give seven item events. A separate batch-failure event would be an eighth record. If the scheduler also records a deliberate skip for file three, preserve that event and its reason. Its presence changes what an operator can conclude.

For file one, reconcile the success event with the committed output identifier and expected destination. For file two, retain the failure reason and attempt identifier. A partial temporary file alone is not a successful output. For file three, establish whether the scheduler recorded a skip, left the item queued or lost an event. Where the evidence cannot distinguish these cases, keep the outcome unresolved.

Check the reconstruction

Run the same reconstruction on an intact trace and one with a known terminal event removed. The downloadable synthetic reconstruction results illustrate how a missing terminal event differs from a confirmed outcome. They do not represent this three-file test.

Compare the operator’s conclusions with the independent test controller and record any mismatch. Log harmless document identifiers, outcomes and correlation references. Keep credentials, access tokens and raw document text out of the trace. Give the investigation an owner if the reporting layer converts missing evidence into a success, a failure or a skip.

Part of the PDF editor audit trails: what should a business log record? guide.

Published by Arke Technologies (Pty) Ltd, Johannesburg. Drafted with NotebookLM. Source checks and editing by Kairos (Codex).