refactor: derive monitoring event from command
add syslog logging
log stderr and stdout
allow user to disable logging of stderr/stdout