commit 3c619db38b6665ea9ab057f16d3277ca61fe8b7c Author: teor teor@torproject.org Date: Mon Jun 24 11:58:29 2019 +1000
script: log at info level in default mode
Closes 28986. Patch by starlight, edited by teor. --- updateFallbackDirs.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/updateFallbackDirs.py b/updateFallbackDirs.py index 6019025..049eeb9 100755 --- a/updateFallbackDirs.py +++ b/updateFallbackDirs.py @@ -2234,8 +2234,8 @@ def process_existing(): list_fallbacks(whitelist, exact=True)
def process_default(): - logging.basicConfig(level=logging.WARNING) - logging.getLogger('stem').setLevel(logging.WARNING) + logging.basicConfig(level=logging.INFO) + logging.getLogger('stem').setLevel(logging.INFO) whitelist = {'data': read_from_file(WHITELIST_FILE_NAME, MAX_LIST_FILE_SIZE), 'name': WHITELIST_FILE_NAME, 'check_existing': False}