getLogCount

Gets the number of logs for the specified parameters.

Applies to Clouds and Integration Appliances.

Parameters:

logComponent
The specified component for which logs are generated.
logLevel
The level of logging to be done for the specified component.
maxDaysOld
The maximum number of days to go back to get logs. Use 1 for no maximum.
status
The specified status of logs to be included in the count. The default values are:
  • All
  • Resolved
  • Unresolved
Returns:
The number of logs that match the specified parameters.

Examples:

The following example is a SOAP request to get a log count.
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:log="http://www.approuter.com/schemas/2008/1/lognotif">
 <soapenv:Header>
  <log:sessionId>910D9A7B441C97AC2FCC54E3F1274AA7</log:sessionId>
 </soapenv:Header>
 <soapenv:Body>
  <log:getLogCount>
   <log:logComponent>orchestration</log:logComponent>
   <log:logLevel>error</log:logLevel>
   <log:maxDaysOld>3</log:maxDaysOld>
   <log:status>all</log:status>
  </log:getLogCount>
 </soapenv:Body>
</soapenv:Envelope>
The following is the SOAP response to the request.
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
 <S:Body>
  <ns2:getLogCountResponse xmlns:ns2="http://www.approuter.com/
  schemas/2008/1/lognotif" xmlns:ns3="http://www.approuter.com/schemas/2008/1/
  lognotif/types">
   <ns2:logCount>8</ns2:logCount>
  </ns2:getLogCountResponse>
 </S:Body>
</S:Envelope>



Feedback | Notices


Timestamp icon Last updated: Thursday, December 17, 2015


http://pic.dhe.ibm.com/infocenter/wci/v7r0m0/topic/com.ibm.wci.api.doc/ci00141.html