rsyslog: capture errors from "omprog" script
0
votes
1
answer
239
views
I am using custom python script to process logs, and ban offending IPs. Here is the line from my
/etc/rsyslog.conf
:
local0.* action(type="omprog" name="asterisk" binary="/usr/local/sbin/asterisk.py")
When my script generates some error, I don't see it anywhere in the logs (but I do see python errors when I run my script manually with given input)
Do I have to redirect the errors somewhere explicitly ?
I am using rsyslog 8.1901 on Debian 10
Asked by Martin Vegter
(598 rep)
Jul 12, 2023, 06:04 AM
Last activity: Jul 12, 2023, 10:45 AM
Last activity: Jul 12, 2023, 10:45 AM