Java CAPS Management and Monitoring APIs

Log Management Service

Table 13 Log Management Service Method Names and Descriptions

API Method Name 

Description 

getLogString 

Reads the page, filter, and search log. Returns only the lines prepared as a single String without any other metadata. 

getLog 

Reads, filters, and searches a page of lines from the log; the lines are returned in a Map. 

getLogAsString 

Logs, filters, and searches a page of lines from the log; the lines are prepared as one string. 

listLoggerNames 

Lists the names of loggers registered with the target. 

listLoggerObjectNames 

List the names of loggers registered with the target. 

isLoggerRegistered 

Asks if the logger instance is registered with the target server instance. 

registerLogger 

Registers a logger instance with the target server instance. 

unregisterLogger 

Unregisters a logger instance with the target server instance. 

setLogFile 

Set the logger file name. 

getLogFile 

Obtains the logger file name.