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
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.logging.log4j.core.appender.AbstractAppender
org.apache.logging.log4j.core.appender.AbstractAppender.Builder<B extends org.apache.logging.log4j.core.appender.AbstractAppender.Builder<B>>Nested classes/interfaces inherited from interface org.apache.logging.log4j.core.LifeCycle
org.apache.logging.log4j.core.LifeCycle.State -
Field Summary
Fields inherited from class org.apache.logging.log4j.core.AbstractLifeCycle
DEFAULT_STOP_TIMEOUT, DEFAULT_STOP_TIMEUNIT, LOGGERFields inherited from interface org.apache.logging.log4j.core.Appender
ELEMENT_TYPE, EMPTY_ARRAY -
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
append, clearBacklog, createAppender, defaultRenderAsString, expandAttributeList, flush, flushAll, getAttributeItemNamePrefix, getAutoFlushIntervalSeconds, getAutoFlushLevel, getBatchSize, getBlobCompressionThreshold, getBlockRatherThanOverflow, getBlockTimeoutMillis, getColumnMap, getCompressedBytes, getCurrentBacklog, getDBCharsetName, getDBNCharsetName, getDynamicMBeanAttrsToInclude, getItemsToCollectionExpand, getJDBCDriver, getJDBCUrl, getJndiConfigurationContext, getLogTable, getMaxBacklog, getOverflowCount, getPassword, getRendererMap, getSchema, getStorageTimeZone, getStringFromBlob, getStringFromBlob, getThrowableElideIntervalSeconds, getThrowableElideMessageLengthLimit, getThrowableElideThreshold, getUser, handleOtherDataTypes, isBlobType, isIncludeMDC, isIncludeNDC, isUseOracleAppendValuesHint, purge, setAttributeItemNamePrefix, setAutoFlushIntervalSeconds, setAutoFlushLevel, setBatchSize, setBlobCompressionThreshold, setBlockRatherThanOverflow, setBlockTimeoutMillis, setColumnMap, setDBCharsetName, setDBNCharsetName, setDynamicMBeanAttrsToInclude, setIncludeMDC, setIncludeNDC, setItemsToCollectionExpand, setJDBCDriver, setJDBCUrl, setJndiConfigurationContext, setLogTable, setPassword, setProps, setRendererMap, setSchema, setStorageTimeZone, setThrowableElideIntervalSeconds, setThrowableElideMessageLengthLimit, setThrowableElideThreshold, setUseOracleAppendValuesHint, setUser, shutdown, start, stopMethods inherited from class org.apache.logging.log4j.core.appender.AbstractAppender
error, error, error, getHandler, getLayout, getName, ignoreExceptions, parseInt, requiresLocation, setHandler, toSerializable, toStringMethods inherited from class org.apache.logging.log4j.core.filter.AbstractFilterable
addFilter, getFilter, getPropertyArray, hasFilter, isFiltered, removeFilter, stopMethods inherited from class org.apache.logging.log4j.core.AbstractLifeCycle
equalsImpl, getState, getStatusLogger, hashCodeImpl, initialize, isInitialized, isStarted, isStarting, isStopped, isStopping, setStarted, setStarting, setState, setStopped, setStopping, stop, stopMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.logging.log4j.core.LifeCycle
getState, initialize, isStarted, isStopped, stop
-
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
-