Normally you should test your script independently before integrating it
with rsyslog, it's far easier. Anyway, the output setting will also capture
these kind of errors.

On Sat, Jan 16, 2021, 04:18 Fourhundred Thecat via rsyslog <
rsyslog@lists.adiscon.com> wrote:

>  > 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
> https://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.
>
_______________________________________________
rsyslog mailing list
https://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