You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by sd...@apache.org on 2013/10/31 06:23:15 UTC

svn commit: r1537380 - in /logging/log4j/log4j2/trunk/src/site: site.xml xdoc/manual/extending.xml xdoc/manual/webapp.xml

Author: sdeboy
Date: Thu Oct 31 05:23:15 2013
New Revision: 1537380

URL: http://svn.apache.org/r1537380
Log:
Updating web app and extending pages to link to Lookups

Modified:
    logging/log4j/log4j2/trunk/src/site/site.xml
    logging/log4j/log4j2/trunk/src/site/xdoc/manual/extending.xml
    logging/log4j/log4j2/trunk/src/site/xdoc/manual/webapp.xml

Modified: logging/log4j/log4j2/trunk/src/site/site.xml
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/src/site/site.xml?rev=1537380&r1=1537379&r2=1537380&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/src/site/site.xml (original)
+++ logging/log4j/log4j2/trunk/src/site/site.xml Thu Oct 31 05:23:15 2013
@@ -65,6 +65,7 @@
         <item name="Servlet 3.0 and Newer" href="/manual/webapp.html#Servlet-3.0" />
         <item name="Servlet 2.5" href="/manual/webapp.html#Servlet-2.5" />
         <item name="Context Parameters" href="/manual/webapp.html#ContextParams" />
+        <item name="Configuration" href="/manual/webapp.html#WebLookup" />
         <item name="JavaServer Pages Logging" href="/manual/webapp.html#JspLogging" />
       </item>
 

Modified: logging/log4j/log4j2/trunk/src/site/xdoc/manual/extending.xml
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/src/site/xdoc/manual/extending.xml?rev=1537380&r1=1537379&r2=1537380&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/src/site/xdoc/manual/extending.xml (original)
+++ logging/log4j/log4j2/trunk/src/site/xdoc/manual/extending.xml Thu Oct 31 05:23:15 2013
@@ -177,6 +177,7 @@ public static class RootLogger extends L
               use a PluginFactory. Instead, they are required to provide a constructor that accepts no arguments.
               The example below shows a Lookup that will return the value of a System Property.
             </p>
+            <p>The provided Lookups are documented here: <a href="./lookups.html">Lookups</a></p>
             <pre class="prettyprint linenums">
 @Plugin(name = "sys", category = "Lookup")
 public class SystemPropertiesLookup implements StrLookup {

Modified: logging/log4j/log4j2/trunk/src/site/xdoc/manual/webapp.xml
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/src/site/xdoc/manual/webapp.xml?rev=1537380&r1=1537379&r2=1537380&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/src/site/xdoc/manual/webapp.xml (original)
+++ logging/log4j/log4j2/trunk/src/site/xdoc/manual/webapp.xml Thu Oct 31 05:23:15 2013
@@ -177,6 +177,14 @@
           "org.apache.logging.log4j.core.selector.JNDIContextSelector."
         </p>
       </subsection>
+      <a name="WebLookup" />
+      <subsection name="Using Web Application information during the configuration">
+        <p>
+            You may want to use information about the web application during configuration.  For example, you could
+            embed context path of the web application in the name of a Rolling File Appender.  
+            See WebLookup in <a href="./lookups.html#WebLookup">Lookups</a> for more information.
+        </p>
+      </subsection>        
       <a name="JspLogging" />
       <subsection name="JavaServer Pages Logging">
         <p>