From e92e1853329b3d1551fb3647ed77cc52cdf64048 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Sun, 13 Nov 2016 19:52:07 +0100 Subject: [PATCH] Use logging to set log level --- python/ttn-receiver.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/ttn-receiver.py b/python/ttn-receiver.py index 65f6acf..3cb4831 100644 --- a/python/ttn-receiver.py +++ b/python/ttn-receiver.py @@ -16,7 +16,7 @@ import logging import lorautil -log.setLevel(logging.DEBUG) +logging.root.setLevel(logging.DEBUG) log = logging.getLogger(__name__) #Call back functions