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

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



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