Log(str)
Prints the scripting running information in log format. When using this command, you should enable scripting log.
Syntax
log(str);
Arguments
| Name | Description |
|---|---|
|
str |
A string which will be logged. |
Events
Applicable in all events.
Example
when HTTP_REQUEST {
log(“http request method is %s.\n”, HTTP:method_get())
}
Supported Version
FortiADC version 4.8.x and later.