Package wt.log4j.jmx
Interface JMXAppenderMonitorMBean
- All Superinterfaces:
AppenderMonitorMBean,SelfEmailingMBean
Log4j JMX appender; produces JMX notifications in response to logging events
Supported API: true
Extendable: true
Supported API: true
Extendable: true
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringType of notification produced when log4j logging event is received by JMX appender
Supported API: true -
Method Summary
Modifier and TypeMethodDescriptionbooleanWhether detailed data beyond the logger message, as generated by the layout if specified, will be included in the notification as user data
Supported API: trueLog4j MDC items to include in output; ignored when not including detailed data; if empty/null, all MDC data will be included
Supported API: truevoidsetIncludeDetailedData(boolean includeDetailedData) Whether detailed data beyond the logger message, as generated by the layout if specified, will be included in the notification as user data
Supported API: truevoidsetMDCItemsToInclude(String mdcItemsToInclude) Log4j MDC items to include in output; ignored when not including detailed data; if empty/null, all MDC data will be included
Supported API: trueMethods inherited from interface wt.log4j.jmx.AppenderMonitorMBean
getAppenderClassname, getLayout, isFilteredMethods inherited from interface wt.jmx.core.mbeans.SelfEmailingMBean
emailThisMBean
-
Field Details
-
LOG_EVENT_NOTIF_TYPE
Type of notification produced when log4j logging event is received by JMX appender
Supported API: true
-
-
Method Details
-
getIncludeDetailedData
boolean getIncludeDetailedData()Whether detailed data beyond the logger message, as generated by the layout if specified, will be included in the notification as user data
Supported API: true -
setIncludeDetailedData
void setIncludeDetailedData(boolean includeDetailedData) Whether detailed data beyond the logger message, as generated by the layout if specified, will be included in the notification as user data
Supported API: true -
getMDCItemsToInclude
String getMDCItemsToInclude()Log4j MDC items to include in output; ignored when not including detailed data; if empty/null, all MDC data will be included
Supported API: true -
setMDCItemsToInclude
Log4j MDC items to include in output; ignored when not including detailed data; if empty/null, all MDC data will be included
Supported API: true
-