
Brocade Virtual ADX OpenScript API Guide 101
53-1003243-01
Methods
7
Example
OS _SLB:: log($log_string)
Description
Causes the system to send the log string to the syslog.
Context
This function can be called from an HTTP request event.
Usage
Can be used to view the log string sent to the syslog.
The syslog server should be connected to the Brocade Virtual ADX via its data ports.
Input Parameters
The following table contains the input values.
Return Values
None.
Example
TABLE 123 Input Values
Name Type Description
$log_string string The log string you want to send
to the syslog.
use OS_SLB;
use OS_HTTP_REQUEST;
sub HTTP_REQUEST{
OS_SLB::reset_client;
}
use OS_SLB;
sub HTTP_REQUEST{
OS_SLB::forward(10);
OS_SLB::log("send the request to the server group 10\n");
}
Commentaires sur ces manuels