Closed shyba closed 5 years ago
@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: https://github.com/lbryio/lbrycrd/blob/01a222a3c5f730973c857ff9d13d032e6108462a/src/main.cpp#L5226-L5227It's initialized according to
-debug
setting: https://github.com/lbryio/lbrycrd/blob/270307a29070a4c10095528e232ad0f8e251ec5a/src/init.cpp#L860Ideally 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.