mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-15 16:38:23 +01:00
5c74a0b397config: add DEBUG_ONLY -logratelimit (Eugene Siegel)9f3b017bcctest: logging_filesize_rate_limit improvements (stickies-v)350193e5e2test: don't leak log category mask across tests (stickies-v)05d7c22479test: add ReadDebugLogLines helper function (stickies-v)3d630c2544log: make m_limiter a shared_ptr (stickies-v)e8f9c37a3blog: clean up LogPrintStr_ and Reset, prefix all logs with "[*]" when there are suppressions (Eugene Siegel)3c7cae49b6log: change LogLimitStats to struct LogRateLimiter::Stats (Eugene Siegel)8319a13468log: clarify RATELIMIT_MAX_BYTES comment, use RATELIMIT_WINDOW (Eugene Siegel)5f70bc80dflog: remove const qualifier from arguments in LogPrintFormatInternal (Eugene Siegel)b8e92fb3d4log: avoid double hashing in SourceLocationHasher (Eugene Siegel)616bc22f13test: remove noexcept(false) comment in ~DebugLogHelper (Eugene Siegel) Pull request description: Followups to #32604. There are two behavior changes: - prefixing with `[*]` is done to all logs (regardless of `should_ratelimit`) per [this comment](https://github.com/bitcoin/bitcoin/pull/32604#discussion_r2195710943). - a DEBUG_ONLY `-disableratelimitlogging` flag is added by default to functional tests so they don't encounter rate limiting. ACKs for top commit: stickies-v: re-ACK5c74a0b397achow101: ACK5c74a0b397l0rinc: Code review ACK5c74a0b397Tree-SHA512: d32db5fcc28bb9b2a850f0048c8062200a3725b88f1cd9a0e137da065c0cf9a5d22e5d03cb16fe75ea7494801313ab34ffec7cf3e8577cd7527e636af53591c4