Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

« Previous Version 4 Next »



The LOG directive logs a message of the severity specified by the script. Four levels of severity can be stated, in escalating order: INFO, WARNING, ERROR and DEBUG.
LOG can be used in Action-Command attributes and Trigger-Command attributes. If you try to use LOG in other attributes, it will generate a script Error and appear in red in the Job Details Viewer's Process Log page.
Log messages are written to the Custom Log tab in the Job Details Viewer window.

Example

Action-Commands: { $Vendor eq "Cisco" and $type eq "Router" } 
ARCHIVE ($ipaddress.txt): show int summ
LOG-INFO: Router's interface list has been written to file
  • No labels