Opened 7 months ago

Last modified 7 months ago

#32282 new task

Avoid regressions to raw log mask calculations

Reported by: teor Owned by:
Priority: Medium Milestone: Tor: unspecified
Component: Core Tor/Tor Version:
Severity: Normal Keywords: tor-autostyle
Cc: 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

Child Tickets

Change History (1)

comment:1 Changed 7 months ago by teor

Motivated by regressions to #31334 in #32269.

Note: See TracTickets for help on using tickets.