From 9c28143dfbb03ef03af850c3caf5f1049a511b79 Mon Sep 17 00:00:00 2001 From: Jakob Ketterl Date: Wed, 1 Dec 2021 19:22:48 +0100 Subject: [PATCH] add debugging to the feature detection system --- owrx/feature.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/owrx/feature.py b/owrx/feature.py index 0105c7a..29754a2 100644 --- a/owrx/feature.py +++ b/owrx/feature.py @@ -131,12 +131,14 @@ class FeatureDetector(object): if cache.has(requirement): return cache.get(requirement) + logger.debug("performing feature check for %s", requirement) method = self._get_requirement_method(requirement) result = False if method is not None: result = method() else: logger.error("detection of requirement {0} not implement. please fix in code!".format(requirement)) + logger.debug("feature check for %s complete. result: %s", requirement, result) cache.set(requirement, result) return result