Generating syslog messages from Tcl

If you use Tcl to write Embedded Event Manager policies, you could use the action_syslog command to generate syslog messages. In all other Tcl-based environments (including tclsh), this API is not available, but you could use the syslog: file system to generate debugging messages.

Read more in the CT3 wiki article Generating Syslog messages from Tclsh.

The article is part of Tclsh on Cisco IOS tutorial.

1 comment:

  1. Many versions of IOS also support the 'send log' command which you can use to generate syslog messages.

    ReplyDelete

You don't have to log in to post a comment, but please do provide your real name/URL. Anonymous comments might get deleted.

Ivan Pepelnjak, CCIE#1354, is the chief technology advisor for NIL Data Communications. He has been designing and implementing large-scale data communications networks as well as teaching and writing books about advanced technologies since 1990. See his full profile, contact him or follow @ioshints on Twitter.