For the last few days, I’ve been trying to debug a race condition between several Delayed::Job workers. After looking at log files for many hours, it became very frustrating to not know which one of my 3 workers was writing which statement. I finally found this post which almost did what I wanted.
|Log formatting before adding process ids and timestamps|
|Log format after adding process IDs and Timestamps|