when does zm_monitor.cpp run?

Support and queries relating to all previous versions of ZoneMinder
Locked
bhomass
Posts: 103
Joined: Sat Jun 11, 2005 6:54 pm

when does zm_monitor.cpp run?

Post by bhomass »

I put a bunch of printf statements in zm_monitor.cpp, and I used be able to see the print outs in zmdc.log whenever I generate alarm events. But now, no matter what I try in generating events and configuring filters. nothing is printed out. all the necessary zm daemons are running, and the web pages do indicate that the events were generated when I put my hand in front of a camera.

is there a way I can be sure zm_monitor got executed? is there cetain configurations that can dictate that?
bhomass
Posts: 103
Joined: Sat Jun 11, 2005 6:54 pm

Post by bhomass »

ok, I solved the mystery. zm_monitor does run, but the printouts don't get written to file until I do a zmpkg.pl restart. so I added a fflush().
Locked