From c7e4d6b976bf65ab669070ea1453f43ca8304fc0 Mon Sep 17 00:00:00 2001 From: Jakob Ketterl Date: Sat, 11 May 2019 00:38:22 +0200 Subject: [PATCH] fix root logger usage --- csdr.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/csdr.py b/csdr.py index 2fb8fc8..c8e710a 100755 --- a/csdr.py +++ b/csdr.py @@ -358,9 +358,9 @@ class dsp: def watch_thread(): rc = self.process.wait() - logging.debug("dsp thread ended with rc=%d", rc) + logger.debug("dsp thread ended with rc=%d", rc) if (rc == 0 and self.running and not self.modification_lock.locked()): - logging.debug("restarting since rc = 0, self.running = true, and no modification") + logger.debug("restarting since rc = 0, self.running = true, and no modification") self.restart() threading.Thread(target = watch_thread).start()