queryLog

Queries log entries by specifying the date, job name, or severity.

Request

<archiveLog>
   <queryLog>
      <jobName>
         <name/>
      </jobName>
      <severity>
         <normal/>
         <warning/>
         <error/>
      </severity>
      <direction>
         <older/>
         <newer/>
      </direction>
      <numOfEntries>
      <startHere>
         <oldest/>
         <newest/>
         <cookie/>
         <startDate/>
      </startHere>
   </queryLog>
</archiveLog>

Reply

<archiveLog>
   <queryLog>
      <logInfo>
         <date/>
         <jobName>
            <name/>
         </jobName>
         <severity>
            <normal/>
            <warning/>
            <error/>
         </severity>
         <message/>
      </logInfo> 
      <startHere>
         <cookie/>
      </startHere>
      <result value=" ">
         <description/>
      </result>
   </queryLog>
</archiveLog>

Elements

jobName

(Optional) Specifies the name of the job. If this element does not exist, all jobs are returned.

name

Specifies the name of the job. Repeat for each selected job.

severity

(Required) Specifies one or more of the severity tags (normal, warning, and error).

normal

(Optional) Specifies a severity of normal.

warning

(Optional) Specifies a severity of warning.

error

(Optional) Specifies a severity of error.

direction

(Optional) Specifies the direction of log entries. If this element does not exist, an older direction is assumed.

older

(Optional) Specifies to return older log entries.

newer

(Optional) Specifies to return newer log entries.

numOfEntries

(Required) Specifies how many entries to return.

startHere

(Optional) Specifies oldest, newest, the cookie, or a startDate. If this element does not exist, newest is assumed.

oldest

(Optional) Specifies to return the oldest log entries.

newest

(Optional) Specifies to return the newest log entries.

cookie

(Optional) Specifies the cookie that was returned the last time queryLog was called.

startDate

(Optional) Specifies the date and time, in generalized time YYYYMMDDHHMMSS format, at which to start the log entries.

logInfo

Specifies the log information. Repeat for each log.

date

Specifies the date, in generalized time YYYYMMDDHHMMSS format.

message

Specifies the log message.

startHere

(Required) Specifies the cookie element.

result

Specifies an error value or zero (for no error).

description

Specifies a text description of the returned result.