mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-08-25 20:51:33 +02:00
Merge bitcoin/bitcoin#33011: log: rate limiting followups
5c74a0b397
config: add DEBUG_ONLY -logratelimit (Eugene Siegel)9f3b017bcc
test: logging_filesize_rate_limit improvements (stickies-v)350193e5e2
test: don't leak log category mask across tests (stickies-v)05d7c22479
test: add ReadDebugLogLines helper function (stickies-v)3d630c2544
log: make m_limiter a shared_ptr (stickies-v)e8f9c37a3b
log: clean up LogPrintStr_ and Reset, prefix all logs with "[*]" when there are suppressions (Eugene Siegel)3c7cae49b6
log: change LogLimitStats to struct LogRateLimiter::Stats (Eugene Siegel)8319a13468
log: clarify RATELIMIT_MAX_BYTES comment, use RATELIMIT_WINDOW (Eugene Siegel)5f70bc80df
log: remove const qualifier from arguments in LogPrintFormatInternal (Eugene Siegel)b8e92fb3d4
log: avoid double hashing in SourceLocationHasher (Eugene Siegel)616bc22f13
test: 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-ACK5c74a0b397
achow101: ACK5c74a0b397
l0rinc: Code review ACK5c74a0b397
Tree-SHA512: d32db5fcc28bb9b2a850f0048c8062200a3725b88f1cd9a0e137da065c0cf9a5d22e5d03cb16fe75ea7494801313ab34ffec7cf3e8577cd7527e636af53591c4
This commit is contained in:
@@ -136,6 +136,8 @@ class TestNode():
|
||||
self.args.append("-logsourcelocations")
|
||||
if self.version_is_at_least(239000):
|
||||
self.args.append("-loglevel=trace")
|
||||
if self.version_is_at_least(299900):
|
||||
self.args.append("-nologratelimit")
|
||||
|
||||
# Default behavior from global -v2transport flag is added to args to persist it over restarts.
|
||||
# May be overwritten in individual tests, using extra_args.
|
||||
|
Reference in New Issue
Block a user