On Tue, 2 Oct 2012, Peeran, Syed wrote:
Question> How to apply a logging API in both Perl and Python to use rsyslog
within a script?
Please provide answer?
you can use the standard syslog tools of the scripting language.
with perl you can use SYS::Syslog to write to the local syslog daemon, or
Net::Syslog to write to a remote syslog daemon. The fact that the syslog
daemon is rsyslog does not matter.
Python has similar standard syslog capabilities, but I'm not a Python
programmer.
If you are needing something beyond what these standard tools provide, you
will need to tell us what you are needing before we can tell you how to
get it.
David Lang
_______________________________________________
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.