SainsburyWellcomeCentre / aeon_experiments

Experiment workflows for Project Aeon
BSD 3-Clause "New" or "Revised" License
2 stars 0 forks source link

Add timestamps to exception logs #592

Open glopesdev opened 4 months ago

glopesdev commented 4 months ago

Given the increasing size of error logs, it is becoming harder to understand when particular errors happened (and their cadence and sequence). It should be possible to simply format the error string and wrap it with a timestamp before piping it to the file. For example see this SO answer for inspiration.