Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Image Removed
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.

Image Added

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