goodrobots / visiond

Python/Gstreamer based project to stream video from embedded system cameras in various ways
MIT License
10 stars 3 forks source link

Refactor logging #5

Closed fnoop closed 4 years ago

fnoop commented 4 years ago

Logging is currently output to file. Filepaths are set to /srv/maverick and need to be reset relative to script, or else change logging to output to stdout/stderr, or systemd/journald.

fnoop commented 4 years ago

Separated logging into discrete class. Added logdest and logdir config parameters. logdest can be set to file, console or both.