[logback-dev] [GIT] Logback: the generic, reliable, fast and flexible logging framework. branch master updated. v_1.0.0-6-gd101cc0
Gitbot
git-noreply at pixie.qos.ch
Tue Nov 1 22:53:40 CET 2011
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 d101cc04bde5ec993119697eca1890e5eb228b83 (commit)
from 59e0cc914b973679bdba216a08b8cb0e42dbd406 (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=d101cc04bde5ec993119697eca1890e5eb228b83
http://github.com/ceki/logback/commit/d101cc04bde5ec993119697eca1890e5eb228b83
commit d101cc04bde5ec993119697eca1890e5eb228b83
Author: Ceki Gulcu <ceki at qos.ch>
Date: Tue Nov 1 22:53:13 2011 +0100
document LBACCESS-26
diff --git a/logback-site/src/site/pages/access.html b/logback-site/src/site/pages/access.html
index 3e722d7..6e69f22 100644
--- a/logback-site/src/site/pages/access.html
+++ b/logback-site/src/site/pages/access.html
@@ -63,17 +63,6 @@
version 0.9.30 is Tomcat 6.x.
</p>
- <!--
- <p>If you placed 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, in addition to
- <em>logback-classic.jar</em>, 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
@@ -252,6 +241,20 @@
</Set>
</Ref></pre>
+ <p>For embedded Jetty, it is helpful to lookup for the
+ logback-access configuration file as a class path resource. This
+ can be accomplished by setting the <em>resource</em> property to
+ the file name to look up on the class path.
+ </p>
+
+ <pre class="prettyprint source"><Ref id="RequestLogHandler">
+ <Set name="requestLog">
+ <New id="requestLogImpl" class="ch.qos.logback.access.jetty.RequestLogImpl">
+ <Set name="<span class="bold">resource</span>">as/classpath/resource/myaccess.xml</Set>
+ </New>
+ </Set>
+</Ref></pre>
+
<h1><a name="configuration" href="#configuration">Logback-access
configuration</a></h1>
diff --git a/logback-site/src/site/pages/news.html b/logback-site/src/site/pages/news.html
index a9c9e77..91ec85f 100644
--- a/logback-site/src/site/pages/news.html
+++ b/logback-site/src/site/pages/news.html
@@ -26,6 +26,18 @@
the <a href="http://www.qos.ch/mailman/listinfo/announce">QOS.ch
announce</a> mailing list.</p>
+
+ <hr width="80%" align="center" />
+
+ <h3>xx of November, 2011 - Release of version 1.0.1</h3>
+
+ <p><code>RequestLogImpl</code> can now lookup for the
+ logback-access configuration file as a class path resource. This
+ feature was requested in <a
+ href="http://jira.qos.ch/browse/LBACCESS-26">LBACCESS-26</a> by
+ Marshall Pierce.
+ </p>
+
<hr width="80%" align="center" />
<h3>1st of November, 2011 - Release of version 1.0.0</h3>
-----------------------------------------------------------------------
Summary of changes:
logback-site/src/site/pages/access.html | 25 ++++++++++++++-----------
logback-site/src/site/pages/news.html | 12 ++++++++++++
2 files changed, 26 insertions(+), 11 deletions(-)
hooks/post-receive
--
Logback: the generic, reliable, fast and flexible logging framework.
More information about the logback-dev
mailing list