I was just noticing a difference, and I think it is on the PA end of things, in the logs for Scheduled and Always-on tasks. Side note, I tried to post the logs below, but I'm not seeing how to format it so it comes through more as code than text in a post.
In a Scheduled Task log I have the following. Notice that there are no dates/times with the items that my script prints. However there is a date/time with what PA status.
- validator_tracked_updater.py running... no update to process, tracked validator file is the latest script complete
2021-07-16 13:01:49 -- Completed task, took 39.05 seconds, return code was 0.
Then if I hop over to an Always-on Task log, I see the following. The top line is from PA, with one kind of date format, the other lines are from my code, but I'm not adding date format, PA is doing that.
2021-07-16 12:44:24 - Task preparing to start Jul 16 14:22:25 - runUpdate Jul 16 14:22:25 No change in consensus group, nothing to do. Jul 16 14:22:25 runUpdate finished Jul 16 14:23:25 - runUpdate Jul 16 14:23:25 No change in consensus group, nothing to do. Jul 16 14:23:25 runUpdate finished
My recommendation would be for consistency among the logs. Do I need to do dates in my scripts or should PA? Maybe PA as it keeps my script leaner. And can we be consistent in what is posted for dates? My preference is YYYY-MM-DD HH:MM:SS.