Broker 10.5 | webMethods Broker Documentation | webMethods Broker Administration Java API Programmer’s Guide | Monitoring Broker Activity | Broker Logging | Understanding the BrokerLogConfig
 
Understanding the BrokerLogConfig
You can use the BrokerServerClient.getLogConfig method to obtain the logging configuration for a Broker Server. The BrokerServerClient.setLogConfig method allows you to set the logging configuration for a Broker Server.
The BrokerLogConfig class represents the Broker Server's logging configuration and provides methods that allow you to:
*Obtain log configuration entries by topic.
*Obtain the entire contents of the log configuration.
*Remove a single entry from the log configuration or remove all entries.
*Remove log configuration entries by topic
The following table shows the methods offered by the BrokerLogConfig class.
Method
Description
clearLogOutput
clearLogOutputs
Clears one or more entries from a specified log output.
clearLogTopic
clearLogTopics
Clears one or more entries from a specified log topic.
getLogOutput
clearLogOutputs
Returns one or more BrokerLogEntry objects which represent the state of the specified log output or outputs.
getLogTopic
getLogTopics
Returns one or more BrokerLogEntry objects which represent the state of the specified log topic or topics.
setLogOutput
Sets the value of a log output's state.
setLogTopic
Sets the value of a log topic's state.
toString
Returns a string containing the log configuration in a human-readable format.