[tor-bugs] #7800 [Tor]: Easier interface to rate-limited logs
Tor Bug Tracker & Wiki
blackhole at torproject.org
Wed Dec 26 23:25:10 UTC 2012
#7800: Easier interface to rate-limited logs
-------------------------------------+--------------------------------------
Reporter: nickm | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Tor: 0.2.4.x-final
Component: Tor | Version:
Keywords: tor-relay small-feature | Parent:
Points: | Actualpoints:
-------------------------------------+--------------------------------------
It's a shame how much code we need to do a rate-limited log message.
Duplicated code is usually a sign that a function somewhere is missing.
Let's fix that.
Please have a look at branch easy_ratelim in my public repository, which
introduces a convenience log_fn_ratelim() function, and uses it in a few
places. Please review.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/7800>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list