i wan't to speed up alarm push on my iphone with a script
So i use sec simple event correlator who scan a log and start script when a word is find
I wan't that zoneminder log in file with specific value like
Code: Select all
09/28/15 12:41:06.710199 zma_m5[31656].INF-/build/zoneminder-3FpX3s/zoneminder-1.28.104-trusty/src/zm_monitor.cpp/1614 [porte: 35355 - Opening new event 56120, alarm start]
how can i configure zoneminder for log only "alarm start"
i try this
LOG_DEBUG=1
LOG_DEBUG_TARGET=_zma
LOG_DEBUG_LEVEL=1
LOG_DEBUG_FILE=/var/log/zm/zm_debug.log
all other option to none
but with that i have no "alarm stat" i only
"09/28/15 13:34:55.712815 zma_m4[19409].DB1-/build/zoneminder-3FpX3s/zoneminder-1.28.104-trusty/src/zm_event.cpp/560 [Writing capture frame 28108]"
with a lot of log
if i do LOG_DEBUG_TARGET=""
it's ok i have "alarm stat" but lot lot lot log information
Do you have a solution for have a log with only this information
Code: Select all
09/28/15 12:41:06.710199 zma_m5[31656].INF-/build/zoneminder-3FpX3s/zoneminder-1.28.104-trusty/src/zm_monitor.cpp/1614 [porte: 35355 - Opening new event 56120, alarm start]