getLogLevel
Gets the log level for the specified log component.
The default log levels are:
- All. (Note: The actual level of logs retrieved for the All level is determined by the logging level set in the WMC. For more information, see "Specify System Log Settings" in the WMC).
- Fatal
- Severe
- Warning
- Info
Applies to Clouds and Integration Appliances.
Parameter
- logComponent
- The specified component for which logs are generated.
- Returns:
- The log level for the specified component.
Examples
The following example is a SOAP
request to get the log level for orchestrations.
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:log="http://www.approuter.com/schemas/2008/1/lognotif">
<soapenv:Header>
<log:sessionId>AD2E025868AC1392A44E6E27E4594EF9</log:sessionId>
</soapenv:Header>
<soapenv:Body>
<log:getLogLevel>
<log:logComponent>orchestration</log:logComponent>
</log:getLogLevel>
</soapenv:Body>
</soapenv:Envelope>
The following is the SOAP
reply to the request.
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
<S:Body>
<ns3:getLogLevelResponse xmlns:ns2="http://www.approuter.com/
schemas/2008/1/lognotif/types" xmlns:ns3="http://www.approuter.com/
schemas/2008/1/lognotif">
<ns3:logLevel>warning</ns3:logLevel>
</ns3:getLogLevelResponse>
</S:Body>
</S:Envelope>