[tor-bugs] #28987 [Core Tor/Fallback Scripts]: Add a log level option to the fallback script

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Jun 27 04:43:14 UTC 2019


#28987: Add a log level option to the fallback script
---------------------------------------+------------------------
 Reporter:  teor                       |          Owner:  (none)
     Type:  defect                     |         Status:  new
 Priority:  Medium                     |      Milestone:
Component:  Core Tor/Fallback Scripts  |        Version:
 Severity:  Normal                     |     Resolution:
 Keywords:                             |  Actual Points:
Parent ID:                             |         Points:
 Reviewer:                             |        Sponsor:
---------------------------------------+------------------------

Comment (by teor):

 These log levels are integers, so we probably want to use
 logging.getLevelName() on the pre-defined levels, then case-insensitively
 match them with the env string.

 https://docs.python.org/2/library/logging.html#logging.getLevelName

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/28987#comment:1>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list