[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-bugs] #7800 [Tor]: Easier interface to rate-limited logs



#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs