Conversation
|
I pushed one more commit, adding the methods I didn't yet squash the changes, so that it's easier to see the difference between the "inline" logging and the logging with The to_log method can be implemented in a few different ways (nested |
7fde3c2 to
e787f9e
Compare
|
Sorry about the force-push yesterday, but I had found four more locations to call |
|
Is there anything I can do to help this PR move forward? |
Nah sorry, I'm away from work and so is Étienne, so we can't merge. @peterzhu2118 I think you've been looking at Pitchfork lately? This PR looks good to me, it would be worth merging. |
|
@bquorning Thanks for the PR, I unblocked the tests and found that there's failures. Can you fix them? |
|
Hmm, it seems I cannot run those tests locally: but I’ll go though the CI output and fix the tests as best I can. And then rely on CI to see if I catch all failures 😅 |
6da7982 to
c6151ff
Compare
🤦🏼 because I’m testing on a Mac, where |
Consistently log worker number (where relevant) first, then generation, then pid. Use lowercase letters in most such messages.
Adding a helper method on Worker/Service to help making the log output consistent. Depending on class, pid, etc., the method will return in one of these 6 formats: - mold gen=0 - mold gen=0 pid=57 - service gen=0 - service gen=0 pid=59 - worker=2 gen=0 - worker=2 gen=0 pid=58
c6151ff to
7882d37
Compare
|
There you go, tests are green now 🍏 |
Consistently log worker
nr(where relevant) first, thengeneration, thenpid. Use lowercase letters in most such messages.Fixes #153