| addauditmessageaction |
Use this method to adds an audit message action. The action specifies whether to log the message, and to which log. |
Syntax |
Parameters |
name |
Name of the audit message action. Must begin with a letter, number, or the underscore character (_), and must contain only letters, numbers, and the hyphen (-), period (.) pound (#), space ( ), at (@), equals (=), colon (:), and underscore characters. Cannot be changed after the message action is added.
The following requirement applies only to the Citrix ADC CLI:
If the name includes one or more spaces, enclose the name in double or single quotation marks (for example, "my message action" or 'my message action'). This is mandatory parameter. |
loglevel |
Audit log level, which specifies the severity level of the log message being generated..
The following loglevels are valid:
* EMERGENCY - Events that indicate an immediate crisis on the server.
* ALERT - Events that might require action.
* CRITICAL - Events that indicate an imminent server crisis.
* ERROR - Events that indicate some type of error.
* WARNING - Events that require action in the near future.
* NOTICE - Events that the administrator should know about.
* INFORMATIONAL - All but low-level events.
* DEBUG - All events, in extreme detail. This is mandatory parameter. |
stringbuilderexpr |
Default-syntax expression that defines the format and content of the log message. This is mandatory parameter. |
logtonewnslog |
Send the message to the new nslog. |
Return Value |
Returns simpleResult |
See Also |