Brocade Virtual ADX OpenScript API Guide (Supporting ADX v Manual de usuario Pagina 113

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 132
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 112
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.
NOTE
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");
}
Vista de pagina 112
1 2 ... 108 109 110 111 112 113 114 115 116 117 118 ... 131 132

Comentarios a estos manuales

Sin comentarios