From 296ab7d40283959abab226fdfd0434f8de43dbad Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Sun, 1 Sep 2019 18:09:20 -0400 Subject: [PATCH] klippy: Warn if starting klippy with logging disabled Signed-off-by: Kevin O'Connor --- klippy/klippy.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/klippy/klippy.py b/klippy/klippy.py index 217ea53b..80e62219 100644 --- a/klippy/klippy.py +++ b/klippy/klippy.py @@ -269,6 +269,9 @@ def main(): "CPU: %s" % (util.get_cpu_info(),), "Python: %s" % (repr(sys.version),)]) logging.info(versions) + elif not options.debugoutput: + logging.warning("No log file specified!" + " Severe timing issues may result!") # Start Printer() class while 1: