Skip navigation links

Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.2.1)

Part Number E55141-01
P4 Change 1723563 on 2015/10/09


weblogic.diagnostics.descriptor
Interface WLDFLogActionBean

All Superinterfaces:
WLDFBean, WLDFNotificationBean

public interface WLDFLogActionBean
extends WLDFNotificationBean

Configures an action that can record a customized log record using the WebLogic Server NonCatalogLogger. The custom log message set via WLDFLogActionBean.setMessage(String) can be either a literal String or a compound EL expression.


Method Summary
abstract  String getMessage()
          Returns the customized log message for this action.
abstract  String getSeverity()
          The severity of the log message recorded by this action.
abstract  String getSubsystemName()
          Returns the customized log message for this action.
abstract  void setMessage(String messageBody)
           Sets the log message body for this action.
abstract  void setSeverity(String level)
          Sets the severity for the log message recorded by this action.
abstract  void setSubsystemName(String messageBody)
          Sets the log message body for this action.

 

Methods inherited from interface weblogic.diagnostics.descriptor.WLDFNotificationBean
getTimeout, isEnabled, setEnabled, setTimeout

 

Methods inherited from interface weblogic.diagnostics.descriptor.WLDFBean
getId, getName

 

Method Detail

getSeverity

String getSeverity()

The severity of the log message recorded by this action.

default weblogic.i18n.logging.Severities.NOTICE_TEXT legalValues weblogic.i18n.logging.Severities.INFO_TEXT, weblogic.i18n.logging.Severities.WARNING_TEXT, weblogic.i18n.logging.Severities.ERROR_TEXT, weblogic.i18n.logging.Severities.NOTICE_TEXT, weblogic.i18n.logging.Severities.CRITICAL_TEXT, weblogic.i18n.logging.Severities.ALERT_TEXT, weblogic.i18n.logging.Severities.EMERGENCY_TEXT
Returns:
Severity of the log message to be recorded for this message

setSeverity

void setSeverity(String level)

Sets the severity for the log message recorded by this action.


getMessage

String getMessage()

Returns the customized log message for this action.

Returns:
The log message body to be recorded by this action.
See Also:
WLDFLogActionBean.setMessage(String)

setMessage

void setMessage(String messageBody)

Sets the log message body for this action.

The log message can be either a literal String or a compound EL expression, with the following variables available for use in the message:

  1. WatchName
  2. WatchRuleType
  3. WatchRule
  4. WatchTime
  5. WatchSeverityLevel
  6. WatchData
  7. WatchAlarmType
  8. WatchAlarmResetPeriod
  9. WatchDomainName
  10. WatchServerName

Variables can be referenced in the message body using the syntax


 ${var-name}
 

For example:

 "The policy ${WatchName} has triggered at ${WatchTime} on server ${WatchServerName}"
 

Parameters:
messageBody - The customized log message body

getSubsystemName

String getSubsystemName()

Returns the customized log message for this action.

Returns:

setSubsystemName

void setSubsystemName(String messageBody)

Sets the log message body for this action.

Parameters:
messageBody - The customized log message body

Skip navigation links

Copyright 1996, 2015, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.2.1)

Part Number E55141-01
P4 Change 1723563 on 2015/10/09