Skip to content

Parser friendly, more complete logs#97

Open
BuonOmo wants to merge 2 commits into
zombocom:mainfrom
klaxit:main
Open

Parser friendly, more complete logs#97
BuonOmo wants to merge 2 commits into
zombocom:mainfrom
klaxit:main

Conversation

@BuonOmo
Copy link
Copy Markdown
Member

@BuonOmo BuonOmo commented Jun 17, 2021

Reaper status logs are printed even if we are killing a worker, and they
show information for each worker. Information is presented in a key=value
fashion which is way easier to parse, and correctly handled by most log
analysis tools.

Since this is breaking former log parsing, I've taken the liberty to
also clarify logs, showing that master is included in the total.


NOTES:

  • I've seen in the mean time that this last part is already in Refine worker termination and rolling restart log messages #96,
    I'd be glad to leave rebase on top of if, leaving the credit to the
    original author,
  • Seeing there was no test for set_workers, I did not add any. Yet
    I could add some for set_master_memory if it feels right.
  • I may make this an option if you are too worried about breaking actual
    parsing. Yet I don't think it is necessary!

Thank you for that very useful gem 🙂 (and all of your work!)

Ulysse

BuonOmo added 2 commits June 17, 2021 11:36
Reaper status logs are printed even if we are killing a worker, and they
show information for each worker. Information is presented in a key=value
fashion which is way easier to parse, and correctly handled by most log
analysis tools.

Since this is breaking former log parsing, I've taken the liberty to
also clarify logs, showing that master is included in the total.

Signed-off-by: Ulysse Buonomo <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant