From 3ea7a9bbe485943fd477a098999eaeb657e10ca0 Mon Sep 17 00:00:00 2001 From: Mark Qvist Date: Fri, 20 Oct 2023 02:36:31 +0200 Subject: [PATCH] Adjusted logging --- sbapp/mapview/downloader.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sbapp/mapview/downloader.py b/sbapp/mapview/downloader.py index a0c25ae..141598d 100644 --- a/sbapp/mapview/downloader.py +++ b/sbapp/mapview/downloader.py @@ -16,8 +16,8 @@ from kivy.logger import LOG_LEVELS, Logger from mapview.constants import CACHE_DIR -if "MAPVIEW_DEBUG_DOWNLOADER" in environ: - Logger.setLevel(LOG_LEVELS['debug']) +# if "MAPVIEW_DEBUG_DOWNLOADER" in environ: +# Logger.setLevel(LOG_LEVELS['debug']) # user agent is needed because since may 2019 OSM gives me a 429 or 403 server error # I tried it with a simpler one (just Mozilla/5.0) this also gets rejected