Hello all!
Do you know if I can configure omprog like the following:
action(type="omprog"
          binary="script.py"
          template="TemplateA"
          confirmMessage="on"
          output="/var/log/file.log"
)
and be able to accomplish both the print "ok" for each message (to allow
confirmMessage know it has been executed properly) and a personalized log
to the output file (having a print in the script with something different
than the "ok" message?

Any help really appreciated!
Thanks,
Eudald
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of 
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE 
THAT.

Reply via email to