From f8380a4f84f4d6747846a855a09d1ca5a19e2f18 Mon Sep 17 00:00:00 2001 From: 21JC Date: Wed, 5 Apr 2023 10:44:17 -0700 Subject: [PATCH] set a default level and a default handler Solve the problem of not having the logs for progress despite having the code to print the logs. --- pmaw/PushshiftAPIBase.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pmaw/PushshiftAPIBase.py b/pmaw/PushshiftAPIBase.py index d524454..d67d032 100644 --- a/pmaw/PushshiftAPIBase.py +++ b/pmaw/PushshiftAPIBase.py @@ -12,7 +12,7 @@ log = logging.getLogger(__name__) - +logging.basicConfig(level=logging.INFO) class PushshiftAPIBase: _base_url = "https://{domain}.pushshift.io/{{endpoint}}"