diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2019-09-01 18:09:20 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2019-09-01 18:09:20 -0400 |
commit | 296ab7d40283959abab226fdfd0434f8de43dbad (patch) | |
tree | 9e7c8e06c786f6b6216603b2c9fb6a2e4d835a5c /klippy/klippy.py | |
parent | 4097a02585093e2b168327a1fb9ba3002c27a079 (diff) | |
download | kutter-296ab7d40283959abab226fdfd0434f8de43dbad.tar.gz kutter-296ab7d40283959abab226fdfd0434f8de43dbad.tar.xz kutter-296ab7d40283959abab226fdfd0434f8de43dbad.zip |
klippy: Warn if starting klippy with logging disabled
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'klippy/klippy.py')
-rw-r--r-- | klippy/klippy.py | 3 |
1 files changed, 3 insertions, 0 deletions
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: |