Broker 10.5 | webMethods Broker Documentation | webMethods Broker Administration Java API Programmer’s Guide | Monitoring Broker Activity | Broker Server Logs | Obtaining Log Entries
Obtaining Log Entries
You can use the BrokerServerClient.getServerLogEntries method to obtain a desired set of entries from the log of the Broker Server to which your client is connected. This method lets you specify the date of the first entry in which you are interested and the total number of entries you wish to retrieve.
Attempting to obtain all server log entries may create performance problems and may use up significant amounts of memory.
The BrokerServerLogEntry.toString method allows you to convert a BrokerServerLogEntry to a character string.