[logback-dev] [GIT] Logback: the generic, reliable, fast and flexible logging framework. branch, master, updated. release_0.9.19-34-g03c8220

added by portage for gitosis-gentoo git-noreply at pixie.qos.ch
Thu Apr 1 23:44:08 CEST 2010


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  03c8220d484fce4f8e7732e10fbb89014138bb3e (commit)
      from  910d6708870cffb23e6c6bd132e7cc288b50a6ca (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=03c8220d484fce4f8e7732e10fbb89014138bb3e
http://github.com/ceki/logback/commit/03c8220d484fce4f8e7732e10fbb89014138bb3e

commit 03c8220d484fce4f8e7732e10fbb89014138bb3e
Author: Ceki Gulcu <ceki at qos.ch>
Date:   Thu Apr 1 23:38:41 2010 +0200

    - minor editing
    - preparing release 0.9.20

diff --git a/logback-access/pom.xml b/logback-access/pom.xml
index 46ab56e..69179c3 100644
--- a/logback-access/pom.xml
+++ b/logback-access/pom.xml
@@ -5,7 +5,7 @@
   <parent>
     <groupId>ch.qos.logback</groupId>
     <artifactId>logback-parent</artifactId>
-    <version>0.9.20-SNAPSHOT</version>
+    <version>0.9.20</version>
   </parent>
 
   <modelVersion>4.0.0</modelVersion>
diff --git a/logback-classic/pom.xml b/logback-classic/pom.xml
index d346359..d4ae883 100644
--- a/logback-classic/pom.xml
+++ b/logback-classic/pom.xml
@@ -5,7 +5,7 @@
   <parent>
     <groupId>ch.qos.logback</groupId>
     <artifactId>logback-parent</artifactId>
-    <version>0.9.20-SNAPSHOT</version>
+    <version>0.9.20</version>
   </parent>
 
   <modelVersion>4.0.0</modelVersion>
diff --git a/logback-core/pom.xml b/logback-core/pom.xml
index 3447409..de3deae 100644
--- a/logback-core/pom.xml
+++ b/logback-core/pom.xml
@@ -5,7 +5,7 @@
   <parent>
     <groupId>ch.qos.logback</groupId>
     <artifactId>logback-parent</artifactId>
-    <version>0.9.20-SNAPSHOT</version>
+    <version>0.9.20</version>
   </parent>
 
   <modelVersion>4.0.0</modelVersion>
diff --git a/logback-examples/pom.xml b/logback-examples/pom.xml
index b08edbb..e0180a2 100644
--- a/logback-examples/pom.xml
+++ b/logback-examples/pom.xml
@@ -5,7 +5,7 @@
   <parent>
     <groupId>ch.qos.logback</groupId>
     <artifactId>logback-parent</artifactId>
-    <version>0.9.20-SNAPSHOT</version>
+    <version>0.9.20</version>
   </parent>
 
   <modelVersion>4.0.0</modelVersion>
diff --git a/logback-site/pom.xml b/logback-site/pom.xml
index 712b2bd..2982174 100644
--- a/logback-site/pom.xml
+++ b/logback-site/pom.xml
@@ -3,7 +3,7 @@
 	<parent>
 		<groupId>ch.qos.logback</groupId>
 		<artifactId>logback-parent</artifactId>
-		<version>0.9.20-SNAPSHOT</version>
+		<version>0.9.20</version>
 	</parent>
 
 	<modelVersion>4.0.0</modelVersion>
diff --git a/logback-site/src/site/pages/manual/loggingSeparation.html b/logback-site/src/site/pages/manual/loggingSeparation.html
index 6b2b67e..5b84bfa 100644
--- a/logback-site/src/site/pages/manual/loggingSeparation.html
+++ b/logback-site/src/site/pages/manual/loggingSeparation.html
@@ -185,26 +185,35 @@
     <p>Assuming you have enabled <code>ContextJNDISelector</code>,
     logging for Kenobi will be done using a logger context named
     "kenobi". Moreover, the "kenobi" logger context will be
-    initialized by <em>convention</em> using the configuration file
-    called <em>logback-kenobi.xml</em> which should be packaged within
-    Kenobi web-application under the <em>WEB-INF/classes</em> folder.
+    initialized by <em>convention</em> by looking up the configuration
+    file called <em>logback-kenobi.xml</em> as a <em>resource</em>
+    using the thread context class loader. Thus, for example for the
+    kenobi web-application, <em>logback-kenobi.xml</em> should be
+    placed under the under the <em>WEB-INF/classes</em> folder.
     </p>
 
-    <p>Although not required, you may specify a different
-    configuration file other than the convention, by setting the
-    "logback/configuration-resource" JNDI variable. For example, if
-    you wish to specify <em>my_config.xml</em> instead of the
-    conventional <em>logback-kenobi.xml</em>, you would add the
-    following XML element to web.xml
+    <p>If you wish to, you may specify a different configuration file
+    other than the convention, by setting the
+    "logback/configuration-resource" JNDI variable. For example, for
+    the kenobi web-application, if you wish to specify
+    <em>aFolder/my_config.xml</em> instead of the conventional
+    <em>logback-kenobi.xml</em>, you would add the following XML
+    element to web.xml
     </p>
 
 
    <pre class="prettyprint source">&lt;env-entry>
   &lt;env-entry-name>logback/configuration-resource&lt;/env-entry-name>
   &lt;env-entry-type>java.lang.String&lt;/env-entry-type>
-  &lt;env-entry-value>my_config.xml&lt;/env-entry-value>
+  &lt;env-entry-value>aFolder/my_config.xml&lt;/env-entry-value>
 &lt;/env-entry></pre> 
 
+    <p>The <em>my_config.xml</em> should be placed under
+    <em>WEB-INF/classes/aFolfer/</em>. The important point to remember
+    is that the configuration is looked up as a java resource using
+    the current thread's context class loader.
+    </p>
+    
 
     <h3><a name="jndiTomcat" href="#jndiTomcat">Configuring Tomcat for
     ContextJNDISelector</a></h3>
@@ -429,7 +438,7 @@ DEBUG ch.qos.starwars.shared.Mustafar              cn=yoda - in foo()</pre>
    output the following in <em>kenobi.log</em>.</p>
 
    <pre class="source">DEBUG ch.qos.starwars.kenobi.KenobiServlet          <b>cn=kenobi</b> - in doGet()
-DEBUG ch.qos.starwars.shared.Mustafar              <b>cn=yoda</b> - in foo()</pre>
+DEBUG ch.qos.starwars.shared.Mustafar               <b>cn=yoda</b> - in foo()</pre>
 
    <p>Note that even if the
    <code>ch.qos.starwars.shared.Mustafar</code> logger outputs to
@@ -472,7 +481,7 @@ DEBUG ch.qos.starwars.shared.Mustafar              <b>cn=yoda</b> - in foo()</pr
 
    <p>If you were able to keep up with the discussion thus far and
    have actually tried the logback-starwars examples, then you must be
-   truly obsessed with logging. You should seek <a
+   truly obsessed with logging. You should consider seeking <a
    href="http://www.qos.ch/shop/products/professionalSupport">professional
    help</a>.</p>
 
diff --git a/logback-site/src/site/pages/news.html b/logback-site/src/site/pages/news.html
index c419888..6cc2626 100644
--- a/logback-site/src/site/pages/news.html
+++ b/logback-site/src/site/pages/news.html
@@ -29,7 +29,7 @@
 
     <hr width="80%" align="center" />
 
-    <h3>March , 2010 - Release of version 0.9.20</h3>
+    <h3>April 2nd, 2010 - Release of version 0.9.20</h3>
 
     <p>Fixed issue related to charsets in
     <code>LayoutWrappingEncoder</code> not being recognized in config
diff --git a/pom.xml b/pom.xml
index a773645..bc21a1a 100755
--- a/pom.xml
+++ b/pom.xml
@@ -5,7 +5,7 @@
   
   <groupId>ch.qos.logback</groupId>
   <artifactId>logback-parent</artifactId>
-  <version>0.9.20-SNAPSHOT</version>
+  <version>0.9.20</version>
   <packaging>pom</packaging>
   <name>Logback-Parent</name>
   
diff --git a/release.sh b/release.sh
index c0379a7..93b6228 100644
--- a/release.sh
+++ b/release.sh
@@ -1,5 +1,7 @@
-
 # memory aid 
+
+mvn versions:set -DnewVersion=${VERSION_NUMBER}
+
 mvn clean
 mvn install
 mvn site:site
@@ -9,4 +11,7 @@ mvn deploy -P javadocjar
 mvn site:deploy -N
 
 #git tag -a release_${VERSION_NUMBER}
-#git push --tags
\ No newline at end of file
+#git push --tags
+
+
+#git push github --tags
\ No newline at end of file

-----------------------------------------------------------------------

Summary of changes:
 logback-access/pom.xml                             |    2 +-
 logback-classic/pom.xml                            |    2 +-
 logback-core/pom.xml                               |    2 +-
 logback-examples/pom.xml                           |    2 +-
 logback-site/pom.xml                               |    2 +-
 .../src/site/pages/manual/loggingSeparation.html   |   33 ++++++++++++-------
 logback-site/src/site/pages/news.html              |    2 +-
 pom.xml                                            |    2 +-
 release.sh                                         |    9 ++++-
 9 files changed, 35 insertions(+), 21 deletions(-)


hooks/post-receive
-- 
Logback: the generic, reliable, fast and flexible logging framework.


More information about the logback-dev mailing list