bea.com | products | dev2dev | support | askBEA
 Download Docs   Site Map   Glossary 
Search

WebLogic Server Configuration Reference

 Previous Next Contents Index View as PDF  

SNMPLogFilter

Description

This MBean represents a filter to qualify log messages which are logged to the server logfile. A message must qualify criteria specified as a filter in order to generate a trap. Multiple instances of this MBean can be defined, if needed. If there are multiple instances, a message must qualify atleast one filter to qualify for the server logfile.

Syntax

<!ELEMENT SNMPLogFilter EMPTY >
<!ATTLIST SNMPLogFilter
   EnabledServers             CDATA                    #IMPLIED
   MessageIds                 CDATA                    #IMPLIED
   MessageSubstring           CDATA                    #REQUIRED
   Name                       CDATA                    #REQUIRED
   Notes                      CDATA                    #IMPLIED
   SeverityLevel              CDATA                    
                                       "weblogic.logging.Severities.ERROR_TEXT"
   SubsystemNames             CDATA                    #IMPLIED
   UserIds                    CDATA                    #IMPLIED
>

Parent Elements

The SNMPLogFilter element is a child of the SNMPAgent element.

Attributes

Table 70-1 SNMPLogFilterMBean Element Attributes

Attribute

Description

Range of Values and Default

Console Label

Enabled-Servers

Defines a list of target servers for trap generation. If no server is specified, no trap will be generated.


Enabled Servers

Message-Ids

Defines a list of message IDs or ID ranges to be notified when a trap is generated. If no IDs are specified, messages from all IDs are selected.

Example list: 20,50-100,300


Message Ids

Message-Substring

Defines a string that is searched for in the message text. Only messages that contain the string are selected. If a string is not specified, all messages are selected.


Message Substring

Name

The name of this configuration. WebLogic Server uses an MBean to implement and persist the configuration.


Name

Notes

Optional information that you can include to describe this configuration.


Notes

Severity-Level

Defines the minimum severity of a message needed to be selected.

  • All messages with a specified severity and higher are selected.

  • The ascending order of severities is INFO, WARNING, ERROR, NOTICE, CRITICAL, ALERT, and EMERGENCY.

Default: weblogic.logging.Severities.ERROR_TEXT

Severity Level

Subsystem-Names

Defines a list of subsystems whose messages are selected by this filter. If none are specified, messages from all subsystems are selected.


Subsystem Names

User-Ids

Defines a list of user IDs that are notified when a trap is generated. If no user IDs are specified, messages from all user IDs are selected.


User Ids


 

 

Back to Top Previous Next