Hello
I discovered the existence of a non-documented output parameter in omprog.
However I did not manage to get it work, nothing is ever written to the file I
specifiy :
Here is my configuration :
module(load="omprog")
template(name="mymsg" type="string" string="%msg%")
user.notice action(type="omprog" output="/tmp/myoutput"
binary="/tmp/omprog.sh" template="mymsg")
Is there something wrong ?
Also I noticed that whenever binary writes to some file during its execution,
nothing is written till rsyslog is stopped. Is this behaviour intended ?
Thanks in advance
dud
_______________________________________________
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.