
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Logback: the generic, reliable, fast and flexible logging framework.". The branch, master has been updated via 5ca0580bc65b84cc7ee444abf1fda2fcf4e60f60 (commit) from 622907388d4146b399842313a3f9aec97ad2dd75 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://git.qos.ch/gitweb/?p=logback.git;a=commit;h=5ca0580bc65b84cc7ee444abf... http://github.com/ceki/logback/commit/5ca0580bc65b84cc7ee444abf1fda2fcf4e60f... commit 5ca0580bc65b84cc7ee444abf1fda2fcf4e60f60 Author: Ceki Gulcu <ceki@qos.ch> Date: Mon Feb 1 22:31:13 2010 +0100 - updated access.html docs to conform with Tomcat 6.0 and not 5.5. diff --git a/logback-site/src/site/pages/access.html b/logback-site/src/site/pages/access.html index f579138..de0002c 100644 --- a/logback-site/src/site/pages/access.html +++ b/logback-site/src/site/pages/access.html @@ -45,23 +45,23 @@ <h1>Logback-access under Tomcat</h1> <p>To use logback-access with Tomcat, after downlading the logback - distribution, place the files <em>logback-core-VERSION.jar</em> - and <em>logback-access-VERSION.jar</em> under + distribution, place the files <em>logback-core-${project.version}.jar</em> + and <em>logback-access-${project.version}.jar</em> under $TOMCAT_HOME/<b>server/lib/</b> directory, where $TOMCAT_HOME is the folder where you have installed Tomcat. We have tested - logback-access module with Tomcat version 5.5.26. + logback-access with Tomcat versions 5.5.26 and 6.0.20. </p> - <p>If you place the logback-core and logback-access jars in - $TOMCAT_HOME/server/lib <em>and</em> your webapps do not use + <p>Place the logback-core and logback-access jars in + $TOMCAT_HOME/lib <em>and</em> your webapps do not use logback-classic, then everything should be fine. If however your - webapps do indeed use logback-classic, you must make sure to - bundle <code>logback-core.jar</code> under your webapps' - WEB-INF/lib directory. An alternative strategy is to place - logback-core.jar under $TOMCAT_HOME/common/lib. In that case, you - no longer need to place logback-core.jar in your web-apps. + webapps do indeed use logback-classic, in addition to + <em>logback-classic.jar</em>,w make sure to bundle + <code>logback-core.jar</code> under your webapps' WEB-INF/lib + directory as well. </p> + <h2>LogbackValve</h2> <p>The <a @@ -79,7 +79,8 @@ </p> <div class="source"><pre><Valve className="ch.qos.logback.access.tomcat.LogbackValve"/></pre></div> - <p>This line is usually nested within an <em>Engine</em> element. + <p>This line is usually nested within an <code><Engine></code> + or <code><Host></code> element. </p> <p>By default, <code>LogbackValve</code> looks for a configuration @@ -93,7 +94,7 @@ </p> <p>In order to help with troubleshooting, by default, the - LogbackValve will print its internal status at its + <code>LogbackValve</code> will print its internal status at its initialization. Typical output would look as: </p> @@ -292,7 +293,7 @@ </rollingPolicy> <layout class="ch.qos.logback.access.PatternLayout"> - <Pattern">combined</Pattern"> + <Pattern>combined</Pattern> </layout> </appender> ----------------------------------------------------------------------- Summary of changes: logback-site/src/site/pages/access.html | 27 ++++++++++++++------------- 1 files changed, 14 insertions(+), 13 deletions(-) hooks/post-receive -- Logback: the generic, reliable, fast and flexible logging framework.