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>
This commit is contained in:
Kevin O'Connor 2016-11-30 12:04:28 -05:00
parent b14db404b5
commit 4f07ee4d92
7 changed files with 67 additions and 29 deletions

View file

@ -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.