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 AsyncJDBCAppender that allows one to include additional data items for individual, select request parameters, headers, and/or cookies.

Supported API: true

Extendable: false
  • Method Details

    • getParametersToInclude

      public String 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

      public void setParametersToInclude(String parametersToInclude)
      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

      public String 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

      public void setHeadersToInclude(String headersToInclude)
      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

      public String 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

      public void setCookiesToInclude(String cookiesToInclude)
      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