Package wt.servlet
Class JDBCRequestAppender
java.lang.Object
org.apache.logging.log4j.core.AbstractLifeCycle
org.apache.logging.log4j.core.filter.AbstractFilterable
org.apache.logging.log4j.core.appender.AbstractAppender
wt.log4j.jmx.AsyncJDBCAppender
wt.servlet.JDBCRequestAppender
- All Implemented Interfaces:
org.apache.logging.log4j.core.Appender,org.apache.logging.log4j.core.filter.Filterable,org.apache.logging.log4j.core.impl.LocationAware,org.apache.logging.log4j.core.LifeCycle,org.apache.logging.log4j.core.LifeCycle2
@Plugin(name="JDBCRequestAppender",
category="Core",
elementType="appender",
printObject=true)
public final class JDBCRequestAppender
extends AsyncJDBCAppender
Extension of
Supported API: true
Extendable: false
AsyncJDBCAppender that allows one to include additional data items
for individual, select request parameters, headers, and/or cookies.
Supported API: true
Extendable: false
-
Method Summary
Modifier and TypeMethodDescriptionGet accessor for servlet request cookies to include as separate data items.Get accessor for servlet request headers to include as separate data items.Get accessor for servlet request parameters to include as separate data items.voidsetCookiesToInclude(String cookiesToInclude) Set accessor for servlet request cookies to include as separate data items.voidsetHeadersToInclude(String headersToInclude) Set accessor for servlet request headers to include as separate data items.voidsetParametersToInclude(String parametersToInclude) Set accessor for servlet request parameters to include as separate data items.Methods inherited from class wt.log4j.jmx.AsyncJDBCAppender
clearBacklog, defaultRenderAsString, expandAttributeList, flush, flushAll, getAttributeItemNamePrefix, getAutoFlushIntervalSeconds, getAutoFlushLevel, getBatchSize, getBlobCompressionThreshold, getBlockRatherThanOverflow, getColumnMap, getCurrentBacklog, getDynamicMBeanAttrsToInclude, getItemsToCollectionExpand, getJDBCDriver, getJDBCUrl, getLogTable, getMaxBacklog, getOverflowCount, getPassword, getRendererMap, getStorageTimeZone, getStringFromBlob, getStringFromBlob, getThrowableElideIntervalSeconds, getThrowableElideMessageLengthLimit, getThrowableElideThreshold, getUser, handleOtherDataTypes, isBlobType, isIncludeMDC, isIncludeNDC, purge, setAttributeItemNamePrefix, setAutoFlushIntervalSeconds, setAutoFlushLevel, setBatchSize, setBlobCompressionThreshold, setBlockRatherThanOverflow, setColumnMap, setDynamicMBeanAttrsToInclude, setIncludeMDC, setIncludeNDC, setItemsToCollectionExpand, setJDBCDriver, setJDBCUrl, setLogTable, setPassword, setRendererMap, setStorageTimeZone, setThrowableElideIntervalSeconds, setThrowableElideMessageLengthLimit, setThrowableElideThreshold, setUser
-
Method Details
-
getParametersToInclude
Get accessor for servlet request parameters to include as separate data items. The data item names will be of the form "Parameters.{ParameterName}", where the "." will automatically be replaced by an "_" as needed when matching column names.
Supported API: true -
setParametersToInclude
Set accessor for servlet request parameters to include as separate data items. The data item names will be of the form "Parameters.{ParameterName}", where the "." will automatically be replaced by an "_" as needed when matching column names.
Supported API: true -
getHeadersToInclude
Get accessor for servlet request headers to include as separate data items. The data item names will be of the form "Headers.{HeaderName}", where the "." will automatically be replaced by an "_" as needed when matching column names.
Supported API: true -
setHeadersToInclude
Set accessor for servlet request headers to include as separate data items. The data item names will be of the form "Headers.{HeaderName}", where the "." will automatically be replaced by an "_" as needed when matching column names.
Supported API: true -
getCookiesToInclude
Get accessor for servlet request cookies to include as separate data items. The data item names will be of the form "Cookies.{CookieName}", where the "." will automatically be replaced by an "_" as needed when matching column names.
Supported API: true -
setCookiesToInclude
Set accessor for servlet request cookies to include as separate data items. The data item names will be of the form "Cookies.{CookieName}", where the "." will automatically be replaced by an "_" as needed when matching column names.
Supported API: true
-