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

[tor-bugs] #32282 [Core Tor/Tor]: Avoid regressions to raw log mask calculations



#32282: Avoid regressions to raw log mask calculations
------------------------------+------------------------------
     Reporter:  teor          |      Owner:  (none)
         Type:  task          |     Status:  new
     Priority:  Medium        |  Milestone:  Tor: unspecified
    Component:  Core Tor/Tor  |    Version:
     Severity:  Normal        |   Keywords:  tor-autostyle
Actual Points:                |  Parent ID:  #31713
       Points:  0.5           |   Reviewer:
      Sponsor:                |
------------------------------+------------------------------
 It's easy to accidentally calculate log masks yourself, rather than using
 the standard macro.

 Can we replace masks[LOG_*-LOG_ERR] with masks[SEVERITY_MASK_IDX(LOG_*)]
 automatically?
 Or should we ban -LOG_ERR

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/32282>
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