To add process ids and timestamps to your Rails logs, you can add this as a Rails initializer (config/initializers/log_formatting.rb for instance) and restart your application / workers:
config/initializers/log_formatting.rb:
Before:
![]() |
| Log formatting before adding process ids and timestamps |
After:
![]() |
| Log format after adding process IDs and Timestamps |


Worked for me, thanks!
ReplyDelete