Opened 2 years ago

Last modified 16 months ago

#21282 new enhancement

Adjust fallback log levels

Reported by: teor Owned by:
Priority: Medium Milestone:
Component: Core Tor/Fallback Scripts Version:
Severity: Normal Keywords: fallback
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description (last modified by teor)

The default mode would be more useful if it issued warnings for changes to fallbacks in the whitelist, and logged (almost) everything else at info level. Then people can make the default log level warning to focus on the most important messages.

The check_existing mode would be more useful if it only logged warning and info messages for relays fingerprints in the existing list. It would also be more useful if it logged a warning message when a fallback in the existing list is missing from OnionOO.

Child Tickets

Change History (4)

comment:1 Changed 2 years ago by teor

The default mode should make it easier to do this:
https://trac.torproject.org/projects/tor/wiki/doc/UpdatingFallbackDirectoryMirrors#c.DiscoveringBrokenFallbacks

check_existing should log like this:
https://trac.torproject.org/projects/tor/wiki/doc/UpdatingFallbackDirectoryMirrors#b.HandlingBrokenFallbacks

The easiest way to implement this may be to filter by whitelist / blacklist first (and at info level), then do the other checks.

comment:2 Changed 2 years ago by teor

Description: modified (diff)

(We want to log changes to relays in the list, whether their fingerprints match, or something else matches.)

comment:3 Changed 16 months ago by teor

Owner: teor deleted
Status: newassigned

Disowning tickets I don't intend to work on in the next 6 months.

comment:4 Changed 16 months ago by teor

Status: assignednew

Mark all tickets that are assigned to nobody as "new".

Note: See TracTickets for help on using tickets.