getLogLevel
指定されたログ・コンポーネントのログ・レベルを取得します。
デフォルトのログ・レベルは、以下のとおりです。
- All (注: 「All」レベルの場合に取得されるログの実際のレベルは、WMC で設定されているロギング・レベルによって決定されます。 詳しくは、WMC の『システム・ログ設定の指定』を参照してください)。
- Fatal
- Severe
- Warning
- Info
Cloud および 統合アプライアンス に適用されます。
パラメーター
- logComponent
- ログの生成対象である指定コンポーネント。
- 戻り:
- 指定されたコンポーネントのログ・レベル。
例
以下の例は、オーケストレーションのログ・レベルを取得するための SOAP 要求です。
<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>
以下は、要求に対する SOAP 応答です。
<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>