> On 2021-01-15 19:57, John Chivian wrote:
The python script should trap its own stderr (and/or stdout) and write it to a
separate file.
but what if there is syntax error in my script?
Where can I see this error?
thanks,
___
rsyslog mailing list
The python script should trap its own stderr (and/or stdout) and write it to a
separate file.
> On Jan 15, 2021, at 12:04, Fourhundred Thecat via rsyslog
> wrote:
>
> Hello
>
> I am using omprog, to send logs to my script:
>
> mail.* action(type="omprog" binary="/usr/bin/blacklist.py
You can use the 'output' setting of the omprog action (see details in the
reference doc). Or, you can make your program write its own log files.
On Fri, Jan 15, 2021, 19:04 Fourhundred Thecat via rsyslog <
rsyslog@lists.adiscon.com> wrote:
> Hello
>
> I am using omprog, to send logs to my
Hello
I am using omprog, to send logs to my script:
mail.* action(type="omprog" binary="/usr/bin/blacklist.py ... )
If my script generates errors, where can I see these errors? I looked in
my main syslog log file, but there is nothing.
I can run my script from commandline, and see the
4 matches
Mail list logo