Log
Event journal: a file or database where a program writes what happened — launches, errors, results. The main debugging and monitoring tool.
What is logged
- Which task was processed and with what status;
- Which errors occurred and where;
- How long an stage took;
- What was the input and output.
Why needed in automation
With mass processing of hundreds of cards, it's impossible to keep track of each one with eyes alone. The log answers questions like 'what has already been done?', 'where did it get stuck?', 'what failed?'.
Formats
- Text file (
app.log); - CSV — for structured records;
- Database — for searching and filtering.