-
Notifications
You must be signed in to change notification settings - Fork 224
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AlephBFT consensus code is too chatty #3598
Comments
@joschisan Assigning to you for obvious reasons. :) |
BTW. It might make sense to have some |
Deep dive: default tracing subscriber could be set to |
|
Reported Cardinal-Cryptography/AlephBFT#373 |
Will try to help with #3625 |
Fixed by #3625 to the best of my knowledge, reopen if still relevant. |
When I do
Seems like we re-connecting. Is this expected? If so - should we hide it? Also the |
This is not a log from aleph bft but from fedimint-Server. The aleph buffer is the backup by aleph bft; it would be non-zero if we recover from a mid session crash. Not sure which level to put this though, feel free to change it. I myself just used it for debugging in the beginning, could also be removed. |
@joschisan I don't want to remove it if it's useful. We could log conditionally if non-zero, etc. I just don't understand the implications here. What about these reconnects? Are these expected to be happening? |
@dpc So if we are not recovering from a mid session crash it will always log zero bytes, does not seem that helpful to me but I do not really have a opinion on this or effective logging in general so please change or remove the server logs I put in however you think is best. I have no idea why the reconnects occur. |
This is the way
The really annoying logs come from the API. Every time a client disconnects by just disappearing/closing the TCP stream (as the CLI client always does) an error is logged afaik. We should also reduce |
While I'm debugging tests in the fallout of the fiat CI fiasco, the AlephBFT stands out as being way too chat with messages that tell me nothing useful.
Now that we had been using it for some time it would be good time to revise them.
As a general rule anything at Info and above log level should be dumbed down for someone that doesn't understand anything about AlephBFT and avoid any consensus specific terms.
At info level I'd be interested mostly in:
"We processed a block with: (summary of items)" type of messages, when there's some consensus action going on.
At Warn about things going clearly wrong and most probably indicating a problem.
The text was updated successfully, but these errors were encountered: