BEA Systems, Inc.

WebLogic Server 8.1 API Reference

weblogic.management.configuration
Interface DomainLogFilterMBean


public interface DomainLogFilterMBean
extends ConfigurationMBean

This MBean represents a filter to qualify log messages which are logged to the domain logfile. A message must qualify all criteria specified to qualify the filter. 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 domain logfile.

Author:
Copyright © 2004 BEA Systems, Inc. All Rights Reserved.

Field Summary
static int ALERT
           
static long CACHING_STUB_SVUID
           
static int CRITICAL
           
static int EMERGENCY
           
static int ERROR
           
static int INFO
           
static int NOTICE
           
static int WARNING
           
 
Fields inherited from class weblogic.management.configuration.ConfigurationMBean
CACHING_STUB_SVUID, DEFAULT_EMPTY_BYTE_ARRAY
 
Method Summary
 int getSeverityLevel()
          The minimum severity of a message that this filter forwards to the domain log.
 java.lang.String[] getSubsystemNames()
          The subsystems for which this filter can forward messages to the domain log.
 java.lang.String[] getUserIds()
          The user IDs for which associated messages are sent to the domain log.
 void setSeverityLevel(int severityLevel)
          Sets the severityLevel attribute of the DomainLogFilterMBean object
 void setSubsystemNames(java.lang.String[] subsystemList)
          The subsystems for which this filter can forward messages to the domain log.
 void setUserIds(java.lang.String[] userIdList)
          The user IDs for which associated messages are sent to the domain log.
 
Methods inherited from interface weblogic.management.configuration.ConfigurationMBean
freezeCurrentValue, getNotes, restoreDefaultValue, setComments, setDefaultedMBean, setNotes, setPersistenceEnabled
 
Methods inherited from interface weblogic.management.WebLogicMBean
getMBeanInfo, getName, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setName, setParent
 
Methods inherited from interface javax.management.DynamicMBean
getAttribute, getAttributes, invoke, setAttribute, setAttributes
 
Methods inherited from interface javax.management.MBeanRegistration
postDeregister, postRegister, preRegister
 
Methods inherited from interface javax.management.NotificationBroadcaster
addNotificationListener, getNotificationInfo, removeNotificationListener
 

Field Detail

CACHING_STUB_SVUID

public static final long CACHING_STUB_SVUID

INFO

public static final int INFO

WARNING

public static final int WARNING

ERROR

public static final int ERROR

NOTICE

public static final int NOTICE

CRITICAL

public static final int CRITICAL

ALERT

public static final int ALERT

EMERGENCY

public static final int EMERGENCY
Method Detail

getSeverityLevel

public int getSeverityLevel()
The minimum severity of a message that this filter forwards to the domain log. All messages with the specified severity and higher will be sent to the domain log. The ascending order of severities is as follows:

Default Value: weblogic.logging.Severities.WARNING
Legal Values: INFO, WARNING, ERROR, NOTICE, CRITICAL, ALERT, EMERGENCY
Returns:
The severityLevel value
See Also:
Severities

setSeverityLevel

public void setSeverityLevel(int severityLevel)
                      throws javax.management.InvalidAttributeValueException,
                             DistributedManagementException
Sets the severityLevel attribute of the DomainLogFilterMBean object

Parameters:
severityLevel - The new severityLevel value
Throws:
javax.management.InvalidAttributeValueException -  
DistributedManagementException -  

getSubsystemNames

public java.lang.String[] getSubsystemNames()
The subsystems for which this filter can forward messages to the domain log. If no subsystems are chosen, then the filter sends messages from all subsystems.

Returns:
The subsystemNames value

setSubsystemNames

public void setSubsystemNames(java.lang.String[] subsystemList)
                       throws javax.management.InvalidAttributeValueException,
                              DistributedManagementException
The subsystems for which this filter can forward messages to the domain log. If no subsystems are chosen, then the filter sends messages from all subsystems.

A dynamic MBean attribute
Parameters:
subsystemList - The new subsystemNames value
Throws:
javax.management.InvalidAttributeValueException -  
DistributedManagementException -  

getUserIds

public java.lang.String[] getUserIds()
The user IDs for which associated messages are sent to the domain log. Every message includes the user ID from the security context in which the message was generated. You can create a filter that forwards only the messages that are associated with one or more user IDs.

If no IDs are specified, messages from all user IDs can be sent to the domain log.

Returns:
The userIds value

setUserIds

public void setUserIds(java.lang.String[] userIdList)
                throws javax.management.InvalidAttributeValueException,
                       DistributedManagementException
The user IDs for which associated messages are sent to the domain log. Every message includes the user ID from the security context in which the message was generated. You can create a filter that forwards only the messages that are associated with one or more user IDs.

If no IDs are specified, messages from all user IDs can be sent to the domain log.

A dynamic MBean attribute
Parameters:
userIdList - The new userIds value
Throws:
javax.management.InvalidAttributeValueException -  
DistributedManagementException -  

Documentation is available at
http://download.oracle.com/docs/cd/E13222_01/wls/docs81