Opened 12 months ago

Last modified 5 months ago

#28987 new enhancement

Add a log level option to the fallback script

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

Description

In #28986, we want to log at info level by default.

But for quick tests, it might be useful to log at warning level.

Child Tickets

Change History (4)

comment:1 Changed 6 months ago 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

comment:2 Changed 6 months ago by teor

Parent ID: #28797

We'll need to be able to set the log level to warn to stay under the Travis log limit.

comment:3 Changed 6 months ago by teor

Keywords: fallback-ci added
Type: defectenhancement

comment:4 Changed 5 months ago by teor

Parent ID: #28797#30971

We might implement this feature at the end of 2019.

Note: See TracTickets for help on using tickets.