diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2016-11-30 12:04:28 -0500 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2016-11-30 21:19:43 -0500 |
commit | 4f07ee4d92732d0b619553d366b50b4b758c3d87 (patch) | |
tree | e4bf83d205001cafba04725aa6b1da9254620575 /docs | |
parent | b14db404b55424ef783a163a02da8868120b36c9 (diff) | |
download | kutter-4f07ee4d92732d0b619553d366b50b4b758c3d87.tar.gz kutter-4f07ee4d92732d0b619553d366b50b4b758c3d87.tar.xz kutter-4f07ee4d92732d0b619553d366b50b4b758c3d87.zip |
pyhelper: Add ability to route error messages to python logging
Instead of writing error messages to stderr, route them into the
python code and use the standard python logging system.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'docs')
-rw-r--r-- | docs/Installation.md | 2 | ||||
-rw-r--r-- | docs/Todo.md | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/docs/Installation.md b/docs/Installation.md index 3d996b5f..6a2447cc 100644 --- a/docs/Installation.md +++ b/docs/Installation.md @@ -129,7 +129,7 @@ The host software is executed by running the following as the regular "pi" user: ``` -~/klippy-env/bin/python ~/klipper/klippy/klippy.py ~/printer.cfg -l /tmp/klippy.log < /dev/null > /tmp/klippy-errors.log 2>&1 & +~/klippy-env/bin/python ~/klipper/klippy/klippy.py ~/printer.cfg -l /tmp/klippy.log < /dev/null > /dev/null 2>&1 & ``` Once Klippy is running, use a web-browser and navigate to the diff --git a/docs/Todo.md b/docs/Todo.md index dbd75030..74c6790a 100644 --- a/docs/Todo.md +++ b/docs/Todo.md @@ -51,8 +51,6 @@ Host user interaction * Improve logging: - * Route errors from the host C code to the main log file. - * Automatically roll Klippy log files. The default log file should have the current date in the log file name. |