Description Syntax Example updateDMSEventRoute

6-22 Oracle Fusion Middleware WebLogic Scripting Tool Command Reference

6.2.13.3 Examples

The following example updates the filter properties for the filter with the id mds1: updateDMSEventFilterid=mds1, props={condition: NOUNTYPE equals XYZ_Total_Connections AND CONTEXT user equals bruce} Filter mds1 updated. The following example attempts to update a filter that does not exist: updateDMSEventFilterid=Filter2 Filter Filter2 does not yet exist. Unable to update this.

6.2.14 updateDMSEventRoute

Command Category: DMS Event Tracing Use with WLST: Online

6.2.14.1 Description

Enables or disables the specified event route. You must be connected to the Administration Server to update an event route. If you are not, an error is returned.

6.2.14.2 Syntax

updateDMSEventRoute[filterid=filter_id], destinationid=destination_id [, enable=true|false] [, server=server_name]

6.2.14.3 Example

The following example disables the event route with the filterid mds1 and the destinationid jfr: updateDMSEventRoutefilterid=mds1, destinationid=jfr, enable=false Event-route for filter mds1, destination jfr disabled . Argument Definition filterid Optional. The unique identifier for the filter. destinationi d Optional. The unique identifier for the specific destination. The destination must exist. enable Optional. Enables the filter. Valid values are true and false. server Optional. The server on which to perform this operation. The default is the server to which you are connected. 7 Logging Custom WLST Commands 7-1 7 Logging Custom WLST Commands Use the logging commands to configure settings for log files and to view and search log files. Table 7–1 describes the different categories of logging commands. For additional details about configuring and searching log files, see Managing Log Files and Diagnostic Data in the Oracle Fusion Middleware Administrators Guide.

7.1 Log Configuration Commands

Use the commands in Table 7–2 to configure settings for log files, such as the level of information written to the file or the maximum file size. In the Use with WLST column, online means the command can only be used when connected to a running server. Offline means the command can only be used when not connected to a running server. Online or offline means the command can be used in both situations. Note: To use these logging custom WLST commands, you must invoke the WLST script from the Oracle Common home. See Using Custom WLST Commands in the Oracle Fusion Middleware Administrators Guide. Table 7–1 Logging Command Categories Command category Description Log Configuration Commands Configure settings for log files, such as the level of information written to the file or the maximum file size. Search and Display Commands View Oracle Fusion Middleware log files and search log files for particular messages. Selective Tracing Commands Configure and use selective tracing, which specifies that messages are traced for specific server, loggers, or users. Table 7–2 Logging Configuration Commands Use this command... To... Use with WLST... configureLogHandler Configure an existing log handler, add a new handler, or remove existing handlers. Online getLogLevel Get the level for a given logger. Online listLoggers Get the list of loggers and the level of each logger. Online listLogHandlers List the configuration of one of more log handlers. Online setLogLevel Set the level for a given logger. Online