factotum icon indicating copy to clipboard operation
factotum copied to clipboard

Update logging output

Open ihortom opened this issue 3 years ago • 0 comments

We have started to use autogenerated datamodeling jobs. This relies on running "Generate and Run SQL Runner DAG" orchestrating task. The logs produced by it dependent on Factotum output. Here's the example

Task 'check-lock' was started at 2020-12-08 17:20:02.299623186 UTC
Task 'check-lock': succeeded after 0.1s
Task 'run-01-page-views' was started at 2020-12-08 17:20:02.582367068 UTC
Task 'run-01-page-views': succeeded after 4m, 58s

It would be more readable if the output was the standard one (timestamp precedes the info) as below for an example

2020-12-08 17:20:02.299 Task 'check-lock' started
2020-12-08 17:20:03.299 Task 'check-lock' succeeded after 0.1s
2020-12-08 17:20:02.582 Task 'run-01-page-views' was started
2020-12-08 17:26:00.123 Task 'run-01-page-views' succeeded

ihortom avatar Dec 08 '20 18:12 ihortom