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
Improve logging by separating debug from information #144
Comments
@shyba Is this still a valid issue |
I didn't mean to close this. I think it's a valid issue. I think it could be a subset of the work on issue #211 |
@lbrynaut reports that repeatedly calling "generate 1" significantly increases the log size. This appears to just be the standard logging for every new block -- log new claims, supports, etc. I think we should revisit that logging as part of this issue. Maybe by default we just summarize each new block, and maybe we don't bother to summarize those that we generate locally. |
I think is sufficiently covered with the move of the claim logging into its own category. |
I want free swag t-shirt. Fake crying |
fDebug
flag can be used for that like:lbrycrd/src/main.cpp
Lines 5226 to 5227 in 01a222a
It's initialized according to
-debug
setting:lbrycrd/src/init.cpp
Line 860 in 270307a
Ideally it should be applied to log messages that doesn't hold information for a sysadmin, but mainly for developers, like: https://github.com/lbryio/lbrycrd/blob/master/src/claimtrie.cpp#L1927
To be updated with more examples where it should be applied after #137 gets merged as it adds more cases.
The text was updated successfully, but these errors were encountered: