ZoneMinder / zmeventnotification

Machine Learning powered Secure Websocket & MQTT based ZoneMinder event notification server
412 stars 128 forks source link

zm_detect.py: Added --debug and ConsoleLogger() #327

Closed mludvig closed 3 years ago

mludvig commented 3 years ago

Simple console logger for debugging zm_detect.py setup without having to look at the ZM logs.

Run zm_detect.py --debug ... from the console and see all the output right away.

mludvig commented 3 years ago

One more PR - facilitates debugging zm_detect.py issues from the shell prompt. Please merge.

pliablepixels commented 3 years ago

Thanks for the PR - I already have debug. console classes in the code, I've just committed code to address this - you can now invoke the ES and zm_detect from CLI using --debug as well.