blob: 300620395078f7965c3b78830a304cabeed5128b [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_80) on Wed May 25 09:42:56 MST 2016 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Index (Apache Log4j Web 2.6 API)</title>
<meta name="date" content="2016-05-25">
<link rel="stylesheet" type="text/css" href="./stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Index (Apache Log4j Web 2.6 API)";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!-- -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="./overview-summary.html">Overview</a></li>
<li>Package</li>
<li>Class</li>
<li>Use</li>
<li><a href="./overview-tree.html">Tree</a></li>
<li><a href="./deprecated-list.html">Deprecated</a></li>
<li class="navBarCell1Rev">Index</li>
<li><a href="./help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="./index.html?index-all.html" target="_top">Frames</a></li>
<li><a href="index-all.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="./allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip-navbar_top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="contentContainer"><a href="#_A_">A</a>&nbsp;<a href="#_C_">C</a>&nbsp;<a href="#_D_">D</a>&nbsp;<a href="#_G_">G</a>&nbsp;<a href="#_I_">I</a>&nbsp;<a href="#_L_">L</a>&nbsp;<a href="#_O_">O</a>&nbsp;<a href="#_P_">P</a>&nbsp;<a href="#_S_">S</a>&nbsp;<a href="#_W_">W</a>&nbsp;<a name="_A_">
<!-- -->
</a>
<h2 class="title">A</h2>
<dl>
<dt><span class="strong"><a href="./org/apache/logging/log4j/web/appender/ServletAppender.html#append(org.apache.logging.log4j.core.LogEvent)">append(LogEvent)</a></span> - Method in class org.apache.logging.log4j.web.appender.<a href="./org/apache/logging/log4j/web/appender/ServletAppender.html" title="class in org.apache.logging.log4j.web.appender">ServletAppender</a></dt>
<dd>&nbsp;</dd>
</dl>
<a name="_C_">
<!-- -->
</a>
<h2 class="title">C</h2>
<dl>
<dt><span class="strong"><a href="./org/apache/logging/log4j/web/Log4jWebSupport.html#clearLoggerContext()">clearLoggerContext()</a></span> - Method in interface org.apache.logging.log4j.web.<a href="./org/apache/logging/log4j/web/Log4jWebSupport.html" title="interface in org.apache.logging.log4j.web">Log4jWebSupport</a></dt>
<dd>
<div class="block">Clears the logger context set up in <a href="./org/apache/logging/log4j/web/Log4jWebSupport.html#setLoggerContext()"><code>Log4jWebSupport.setLoggerContext()</code></a>.</div>
</dd>
<dt><span class="strong"><a href="./org/apache/logging/log4j/web/Log4jWebSupport.html#CONTEXT_ATTRIBUTE">CONTEXT_ATTRIBUTE</a></span> - Static variable in interface org.apache.logging.log4j.web.<a href="./org/apache/logging/log4j/web/Log4jWebSupport.html" title="interface in org.apache.logging.log4j.web">Log4jWebSupport</a></dt>
<dd>
<div class="block">The attribute key for the <a href="http://docs.oracle.com/javaee/6/api/javax/servlet/ServletContext.html?is-external=true" title="class or interface in javax.servlet"><code>ServletContext</code></a> attribute that the <code>LoggerContext</code>
is stored in.</div>
</dd>
<dt><span class="strong"><a href="./org/apache/logging/log4j/web/Log4jServletContextListener.html#contextDestroyed(javax.servlet.ServletContextEvent)">contextDestroyed(ServletContextEvent)</a></span> - Method in class org.apache.logging.log4j.web.<a href="./org/apache/logging/log4j/web/Log4jServletContextListener.html" title="class in org.apache.logging.log4j.web">Log4jServletContextListener</a></dt>
<dd>&nbsp;</dd>
<dt><span class="strong"><a href="./org/apache/logging/log4j/web/Log4jServletContextListener.html#contextInitialized(javax.servlet.ServletContextEvent)">contextInitialized(ServletContextEvent)</a></span> - Method in class org.apache.logging.log4j.web.<a href="./org/apache/logging/log4j/web/Log4jServletContextListener.html" title="class in org.apache.logging.log4j.web">Log4jServletContextListener</a></dt>
<dd>&nbsp;</dd>
<dt><span class="strong"><a href="./org/apache/logging/log4j/web/appender/ServletAppender.html#createAppender(org.apache.logging.log4j.core.Layout,%20org.apache.logging.log4j.core.Filter,%20java.lang.String,%20boolean)">createAppender(Layout&lt;? extends Serializable&gt;, Filter, String, boolean)</a></span> - Static method in class org.apache.logging.log4j.web.appender.<a href="./org/apache/logging/log4j/web/appender/ServletAppender.html" title="class in org.apache.logging.log4j.web.appender">ServletAppender</a></dt>
<dd>
<div class="block">Create a Servlet Appender.</div>
</dd>
</dl>
<a name="_D_">
<!-- -->
</a>
<h2 class="title">D</h2>
<dl>
<dt><span class="strong"><a href="./org/apache/logging/log4j/web/Log4jServletFilter.html#destroy()">destroy()</a></span> - Method in class org.apache.logging.log4j.web.<a href="./org/apache/logging/log4j/web/Log4jServletFilter.html" title="class in org.apache.logging.log4j.web">Log4jServletFilter</a></dt>
<dd>&nbsp;</dd>
<dt><span class="strong"><a href="./org/apache/logging/log4j/web/Log4jServletFilter.html#doFilter(javax.servlet.ServletRequest,%20javax.servlet.ServletResponse,%20javax.servlet.FilterChain)">doFilter(ServletRequest, ServletResponse, FilterChain)</a></span> - Method in class org.apache.logging.log4j.web.<a href="./org/apache/logging/log4j/web/Log4jServletFilter.html" title="class in org.apache.logging.log4j.web">Log4jServletFilter</a></dt>
<dd>&nbsp;</dd>
</dl>
<a name="_G_">
<!-- -->
</a>
<h2 class="title">G</h2>
<dl>
<dt><span class="strong"><a href="./org/apache/logging/log4j/web/WebLoggerContextUtils.html#getRequiredWebLoggerContext(javax.servlet.ServletContext)">getRequiredWebLoggerContext(ServletContext)</a></span> - Static method in class org.apache.logging.log4j.web.<a href="./org/apache/logging/log4j/web/WebLoggerContextUtils.html" title="class in org.apache.logging.log4j.web">WebLoggerContextUtils</a></dt>
<dd>
<div class="block">Finds the main <code>LoggerContext</code> configured for the given ServletContext.</div>
</dd>
<dt><span class="strong"><a href="./org/apache/logging/log4j/web/WebLoggerContextUtils.html#getServletContext()">getServletContext()</a></span> - Static method in class org.apache.logging.log4j.web.<a href="./org/apache/logging/log4j/web/WebLoggerContextUtils.html" title="class in org.apache.logging.log4j.web">WebLoggerContextUtils</a></dt>
<dd>
<div class="block">Gets the current <a href="http://docs.oracle.com/javaee/6/api/javax/servlet/ServletContext.html?is-external=true" title="class or interface in javax.servlet"><code>ServletContext</code></a> if it has already been assigned to a LoggerContext's external context.</div>
</dd>
<dt><span class="strong"><a href="./org/apache/logging/log4j/web/WebLookup.html#getServletContext()">getServletContext()</a></span> - Method in class org.apache.logging.log4j.web.<a href="./org/apache/logging/log4j/web/WebLookup.html" title="class in org.apache.logging.log4j.web">WebLookup</a></dt>
<dd>
<div class="block"><span class="strong">Deprecated.</span>
<div class="block"><i>Use <a href="./org/apache/logging/log4j/web/WebLoggerContextUtils.html#getServletContext()"><code>WebLoggerContextUtils.getServletContext()</code></a>.</i></div>
</div>
</dd>
<dt><span class="strong"><a href="./org/apache/logging/log4j/web/WebLoggerContextUtils.html#getWebLifeCycle(javax.servlet.ServletContext)">getWebLifeCycle(ServletContext)</a></span> - Static method in class org.apache.logging.log4j.web.<a href="./org/apache/logging/log4j/web/WebLoggerContextUtils.html" title="class in org.apache.logging.log4j.web">WebLoggerContextUtils</a></dt>
<dd>
<div class="block">Finds or initializes the <code>Log4jWebLifeCycle</code> singleton for the given
ServletContext.</div>
</dd>
<dt><span class="strong"><a href="./org/apache/logging/log4j/web/WebLoggerContextUtils.html#getWebLoggerContext(javax.servlet.ServletContext)">getWebLoggerContext(ServletContext)</a></span> - Static method in class org.apache.logging.log4j.web.<a href="./org/apache/logging/log4j/web/WebLoggerContextUtils.html" title="class in org.apache.logging.log4j.web">WebLoggerContextUtils</a></dt>
<dd>
<div class="block">Finds the main <code>LoggerContext</code> configured for the given ServletContext.</div>
</dd>
</dl>
<a name="_I_">
<!-- -->
</a>
<h2 class="title">I</h2>
<dl>
<dt><span class="strong"><a href="./org/apache/logging/log4j/web/Log4jServletFilter.html#init(javax.servlet.FilterConfig)">init(FilterConfig)</a></span> - Method in class org.apache.logging.log4j.web.<a href="./org/apache/logging/log4j/web/Log4jServletFilter.html" title="class in org.apache.logging.log4j.web">Log4jServletFilter</a></dt>
<dd>&nbsp;</dd>
<dt><span class="strong"><a href="./org/apache/logging/log4j/web/Log4jWebSupport.html#IS_LOG4J_AUTO_INITIALIZATION_DISABLED">IS_LOG4J_AUTO_INITIALIZATION_DISABLED</a></span> - Static variable in interface org.apache.logging.log4j.web.<a href="./org/apache/logging/log4j/web/Log4jWebSupport.html" title="interface in org.apache.logging.log4j.web">Log4jWebSupport</a></dt>
<dd>
<div class="block">The <a href="http://docs.oracle.com/javaee/6/api/javax/servlet/ServletContext.html?is-external=true" title="class or interface in javax.servlet"><code>ServletContext</code></a> parameter name for the flag that disables Log4j's auto-initialization
in Servlet 3.0+ web applications.</div>
</dd>
<dt><span class="strong"><a href="./org/apache/logging/log4j/web/Log4jWebSupport.html#IS_LOG4J_CONTEXT_SELECTOR_NAMED">IS_LOG4J_CONTEXT_SELECTOR_NAMED</a></span> - Static variable in interface org.apache.logging.log4j.web.<a href="./org/apache/logging/log4j/web/Log4jWebSupport.html" title="interface in org.apache.logging.log4j.web">Log4jWebSupport</a></dt>
<dd>
<div class="block">The <a href="http://docs.oracle.com/javaee/6/api/javax/servlet/ServletContext.html?is-external=true" title="class or interface in javax.servlet"><code>ServletContext</code></a> parameter name for the JNDI flag.</div>
</dd>
</dl>
<a name="_L_">
<!-- -->
</a>
<h2 class="title">L</h2>
<dl>
<dt><span class="strong"><a href="./org/apache/logging/log4j/web/Log4jWebSupport.html#LOG4J_CONFIG_LOCATION">LOG4J_CONFIG_LOCATION</a></span> - Static variable in interface org.apache.logging.log4j.web.<a href="./org/apache/logging/log4j/web/Log4jWebSupport.html" title="interface in org.apache.logging.log4j.web">Log4jWebSupport</a></dt>
<dd>
<div class="block">The <a href="http://docs.oracle.com/javaee/6/api/javax/servlet/ServletContext.html?is-external=true" title="class or interface in javax.servlet"><code>ServletContext</code></a> parameter name for the location of the configuration.</div>
</dd>
<dt><span class="strong"><a href="./org/apache/logging/log4j/web/Log4jWebSupport.html#LOG4J_CONTEXT_NAME">LOG4J_CONTEXT_NAME</a></span> - Static variable in interface org.apache.logging.log4j.web.<a href="./org/apache/logging/log4j/web/Log4jWebSupport.html" title="interface in org.apache.logging.log4j.web">Log4jWebSupport</a></dt>
<dd>
<div class="block">The <a href="http://docs.oracle.com/javaee/6/api/javax/servlet/ServletContext.html?is-external=true" title="class or interface in javax.servlet"><code>ServletContext</code></a> parameter name for the name of the
<code>LoggerContext</code>.</div>
</dd>
<dt><a href="./org/apache/logging/log4j/web/Log4jServletContainerInitializer.html" title="class in org.apache.logging.log4j.web"><span class="strong">Log4jServletContainerInitializer</span></a> - Class in <a href="./org/apache/logging/log4j/web/package-summary.html">org.apache.logging.log4j.web</a></dt>
<dd>
<div class="block">In a Servlet 3.0 or newer environment, this initializer is responsible for starting up Log4j logging before anything
else happens in application initialization.</div>
</dd>
<dt><span class="strong"><a href="./org/apache/logging/log4j/web/Log4jServletContainerInitializer.html#Log4jServletContainerInitializer()">Log4jServletContainerInitializer()</a></span> - Constructor for class org.apache.logging.log4j.web.<a href="./org/apache/logging/log4j/web/Log4jServletContainerInitializer.html" title="class in org.apache.logging.log4j.web">Log4jServletContainerInitializer</a></dt>
<dd>&nbsp;</dd>
<dt><a href="./org/apache/logging/log4j/web/Log4jServletContextListener.html" title="class in org.apache.logging.log4j.web"><span class="strong">Log4jServletContextListener</span></a> - Class in <a href="./org/apache/logging/log4j/web/package-summary.html">org.apache.logging.log4j.web</a></dt>
<dd>
<div class="block">In environments older than Servlet 3.0, this initializer is responsible for starting up Log4j logging before anything
else happens in application initialization.</div>
</dd>
<dt><span class="strong"><a href="./org/apache/logging/log4j/web/Log4jServletContextListener.html#Log4jServletContextListener()">Log4jServletContextListener()</a></span> - Constructor for class org.apache.logging.log4j.web.<a href="./org/apache/logging/log4j/web/Log4jServletContextListener.html" title="class in org.apache.logging.log4j.web">Log4jServletContextListener</a></dt>
<dd>&nbsp;</dd>
<dt><a href="./org/apache/logging/log4j/web/Log4jServletFilter.html" title="class in org.apache.logging.log4j.web"><span class="strong">Log4jServletFilter</span></a> - Class in <a href="./org/apache/logging/log4j/web/package-summary.html">org.apache.logging.log4j.web</a></dt>
<dd>
<div class="block">This is responsible for the following:
Clearing the logger context when the application has finished starting up.
Setting the logger context before processing a request and clearing it after processing a request.
Setting the logger context when the application is starting to shut down.
This filter is a once-per-request filter.</div>
</dd>
<dt><span class="strong"><a href="./org/apache/logging/log4j/web/Log4jServletFilter.html#Log4jServletFilter()">Log4jServletFilter()</a></span> - Constructor for class org.apache.logging.log4j.web.<a href="./org/apache/logging/log4j/web/Log4jServletFilter.html" title="class in org.apache.logging.log4j.web">Log4jServletFilter</a></dt>
<dd>&nbsp;</dd>
<dt><a href="./org/apache/logging/log4j/web/Log4jWebSupport.html" title="interface in org.apache.logging.log4j.web"><span class="strong">Log4jWebSupport</span></a> - Interface in <a href="./org/apache/logging/log4j/web/package-summary.html">org.apache.logging.log4j.web</a></dt>
<dd>
<div class="block">Specifies an interface for setting and clearing a thread-bound <code>LoggerContext</code> in a Java EE web application.</div>
</dd>
<dt><span class="strong"><a href="./org/apache/logging/log4j/web/WebLookup.html#lookup(org.apache.logging.log4j.core.LogEvent,%20java.lang.String)">lookup(LogEvent, String)</a></span> - Method in class org.apache.logging.log4j.web.<a href="./org/apache/logging/log4j/web/WebLookup.html" title="class in org.apache.logging.log4j.web">WebLookup</a></dt>
<dd>&nbsp;</dd>
</dl>
<a name="_O_">
<!-- -->
</a>
<h2 class="title">O</h2>
<dl>
<dt><span class="strong"><a href="./org/apache/logging/log4j/web/Log4jServletContainerInitializer.html#onStartup(java.util.Set,%20javax.servlet.ServletContext)">onStartup(Set&lt;Class&lt;?&gt;&gt;, ServletContext)</a></span> - Method in class org.apache.logging.log4j.web.<a href="./org/apache/logging/log4j/web/Log4jServletContainerInitializer.html" title="class in org.apache.logging.log4j.web">Log4jServletContainerInitializer</a></dt>
<dd>&nbsp;</dd>
<dt><a href="./org/apache/logging/log4j/web/package-summary.html">org.apache.logging.log4j.web</a> - package org.apache.logging.log4j.web</dt>
<dd>
<div class="block">The classes in this package are responsible for properly initializing and deinitializing Log4j in a Java EE web
application.</div>
</dd>
<dt><a href="./org/apache/logging/log4j/web/appender/package-summary.html">org.apache.logging.log4j.web.appender</a> - package org.apache.logging.log4j.web.appender</dt>
<dd>&nbsp;</dd>
</dl>
<a name="_P_">
<!-- -->
</a>
<h2 class="title">P</h2>
<dl>
<dt><span class="strong"><a href="./org/apache/logging/log4j/web/ServletRequestThreadContext.html#put(java.lang.String,%20javax.servlet.ServletRequest)">put(String, ServletRequest)</a></span> - Static method in class org.apache.logging.log4j.web.<a href="./org/apache/logging/log4j/web/ServletRequestThreadContext.html" title="class in org.apache.logging.log4j.web">ServletRequestThreadContext</a></dt>
<dd>&nbsp;</dd>
<dt><span class="strong"><a href="./org/apache/logging/log4j/web/ServletRequestThreadContext.html#put(java.lang.String,%20java.lang.String,%20java.lang.Object)">put(String, String, Object)</a></span> - Static method in class org.apache.logging.log4j.web.<a href="./org/apache/logging/log4j/web/ServletRequestThreadContext.html" title="class in org.apache.logging.log4j.web">ServletRequestThreadContext</a></dt>
<dd>&nbsp;</dd>
<dt><span class="strong"><a href="./org/apache/logging/log4j/web/ServletRequestThreadContext.html#put(java.lang.String,%20java.lang.String)">put(String, String)</a></span> - Static method in class org.apache.logging.log4j.web.<a href="./org/apache/logging/log4j/web/ServletRequestThreadContext.html" title="class in org.apache.logging.log4j.web">ServletRequestThreadContext</a></dt>
<dd>&nbsp;</dd>
<dt><span class="strong"><a href="./org/apache/logging/log4j/web/ServletRequestThreadContext.html#put(java.lang.String,%20javax.servlet.http.HttpServletRequest)">put(String, HttpServletRequest)</a></span> - Static method in class org.apache.logging.log4j.web.<a href="./org/apache/logging/log4j/web/ServletRequestThreadContext.html" title="class in org.apache.logging.log4j.web">ServletRequestThreadContext</a></dt>
<dd>&nbsp;</dd>
</dl>
<a name="_S_">
<!-- -->
</a>
<h2 class="title">S</h2>
<dl>
<dt><a href="./org/apache/logging/log4j/web/appender/ServletAppender.html" title="class in org.apache.logging.log4j.web.appender"><span class="strong">ServletAppender</span></a> - Class in <a href="./org/apache/logging/log4j/web/appender/package-summary.html">org.apache.logging.log4j.web.appender</a></dt>
<dd>
<div class="block">Logs using the ServletContext's log method</div>
</dd>
<dt><a href="./org/apache/logging/log4j/web/ServletRequestThreadContext.html" title="class in org.apache.logging.log4j.web"><span class="strong">ServletRequestThreadContext</span></a> - Class in <a href="./org/apache/logging/log4j/web/package-summary.html">org.apache.logging.log4j.web</a></dt>
<dd>&nbsp;</dd>
<dt><span class="strong"><a href="./org/apache/logging/log4j/web/ServletRequestThreadContext.html#ServletRequestThreadContext()">ServletRequestThreadContext()</a></span> - Constructor for class org.apache.logging.log4j.web.<a href="./org/apache/logging/log4j/web/ServletRequestThreadContext.html" title="class in org.apache.logging.log4j.web">ServletRequestThreadContext</a></dt>
<dd>&nbsp;</dd>
<dt><span class="strong"><a href="./org/apache/logging/log4j/web/Log4jWebSupport.html#setLoggerContext()">setLoggerContext()</a></span> - Method in interface org.apache.logging.log4j.web.<a href="./org/apache/logging/log4j/web/Log4jWebSupport.html" title="interface in org.apache.logging.log4j.web">Log4jWebSupport</a></dt>
<dd>
<div class="block">Sets the logger context so that code executing afterwards can easily and quickly access loggers via
<code>LogManager.getLogger()</code>.</div>
</dd>
<dt><span class="strong"><a href="./org/apache/logging/log4j/web/Log4jWebSupport.html#SUPPORT_ATTRIBUTE">SUPPORT_ATTRIBUTE</a></span> - Static variable in interface org.apache.logging.log4j.web.<a href="./org/apache/logging/log4j/web/Log4jWebSupport.html" title="interface in org.apache.logging.log4j.web">Log4jWebSupport</a></dt>
<dd>
<div class="block">The attribute key for the <a href="http://docs.oracle.com/javaee/6/api/javax/servlet/ServletContext.html?is-external=true" title="class or interface in javax.servlet"><code>ServletContext</code></a> attribute that the singleton support instance
is stored in.</div>
</dd>
</dl>
<a name="_W_">
<!-- -->
</a>
<h2 class="title">W</h2>
<dl>
<dt><a href="./org/apache/logging/log4j/web/WebLoggerContextUtils.html" title="class in org.apache.logging.log4j.web"><span class="strong">WebLoggerContextUtils</span></a> - Class in <a href="./org/apache/logging/log4j/web/package-summary.html">org.apache.logging.log4j.web</a></dt>
<dd>
<div class="block">Convenience methods for retrieving the <code>LoggerContext</code> associated with a
particular ServletContext.</div>
</dd>
<dt><a href="./org/apache/logging/log4j/web/WebLookup.html" title="class in org.apache.logging.log4j.web"><span class="strong">WebLookup</span></a> - Class in <a href="./org/apache/logging/log4j/web/package-summary.html">org.apache.logging.log4j.web</a></dt>
<dd>&nbsp;</dd>
<dt><span class="strong"><a href="./org/apache/logging/log4j/web/WebLookup.html#WebLookup()">WebLookup()</a></span> - Constructor for class org.apache.logging.log4j.web.<a href="./org/apache/logging/log4j/web/WebLookup.html" title="class in org.apache.logging.log4j.web">WebLookup</a></dt>
<dd>&nbsp;</dd>
<dt><span class="strong"><a href="./org/apache/logging/log4j/web/Log4jWebSupport.html#wrapExecution(java.lang.Runnable)">wrapExecution(Runnable)</a></span> - Method in interface org.apache.logging.log4j.web.<a href="./org/apache/logging/log4j/web/Log4jWebSupport.html" title="interface in org.apache.logging.log4j.web">Log4jWebSupport</a></dt>
<dd>
<div class="block">Sets the logger context by calling <a href="./org/apache/logging/log4j/web/Log4jWebSupport.html#setLoggerContext()"><code>Log4jWebSupport.setLoggerContext()</code></a>, executes the runnable argument, then clears the
logger context by calling <a href="./org/apache/logging/log4j/web/Log4jWebSupport.html#clearLoggerContext()"><code>Log4jWebSupport.clearLoggerContext()</code></a>.</div>
</dd>
<dt><span class="strong"><a href="./org/apache/logging/log4j/web/WebLoggerContextUtils.html#wrapExecutionContext(javax.servlet.ServletContext,%20java.lang.Runnable)">wrapExecutionContext(ServletContext, Runnable)</a></span> - Static method in class org.apache.logging.log4j.web.<a href="./org/apache/logging/log4j/web/WebLoggerContextUtils.html" title="class in org.apache.logging.log4j.web">WebLoggerContextUtils</a></dt>
<dd>
<div class="block">Wraps a Runnable instance by setting its thread context <code>LoggerContext</code>
before execution and clearing it after execution.</div>
</dd>
</dl>
<a href="#_A_">A</a>&nbsp;<a href="#_C_">C</a>&nbsp;<a href="#_D_">D</a>&nbsp;<a href="#_G_">G</a>&nbsp;<a href="#_I_">I</a>&nbsp;<a href="#_L_">L</a>&nbsp;<a href="#_O_">O</a>&nbsp;<a href="#_P_">P</a>&nbsp;<a href="#_S_">S</a>&nbsp;<a href="#_W_">W</a>&nbsp;</div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!-- -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="./overview-summary.html">Overview</a></li>
<li>Package</li>
<li>Class</li>
<li>Use</li>
<li><a href="./overview-tree.html">Tree</a></li>
<li><a href="./deprecated-list.html">Deprecated</a></li>
<li class="navBarCell1Rev">Index</li>
<li><a href="./help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="./index.html?index-all.html" target="_top">Frames</a></li>
<li><a href="index-all.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="./allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip-navbar_bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small><p align="center">Copyright &#169; 1999-2016 <a href="http://www.apache.org">Apache Software Foundation</a>. All Rights Reserved.<br /> Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.</p></small></p>
</body>
</html>