[GIT] Logback: the generic, reliable, fast and flexible logging framework. branch, master, updated. v0.9.18-109-g8ad8f15

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 8ad8f15265b86671678d40c6109245327ef1f9f7 (commit) from 1903ec955f2575cdad61fa9a2df6ac20b4ac3638 (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=8ad8f15265b86671678d40c61... http://github.com/ceki/logback/commit/8ad8f15265b86671678d40c6109245327ef1f9... commit 8ad8f15265b86671678d40c6109245327ef1f9f7 Author: Ceki Gulcu <ceki@qos.ch> Date: Tue Mar 23 09:34:21 2010 +0100 - upgrade to SLF4J 1.5.11 - document the timzezone option in %date - minor edits diff --git a/logback-examples/src/main/java/chapters/configuration/MyApp3.java b/logback-examples/src/main/java/chapters/configuration/MyApp3.java index 2cc3199..99c8733 100644 --- a/logback-examples/src/main/java/chapters/configuration/MyApp3.java +++ b/logback-examples/src/main/java/chapters/configuration/MyApp3.java @@ -40,7 +40,7 @@ public class MyApp3 { lc.reset(); configurator.doConfigure(args[0]); } catch (JoranException je) { - je.printStackTrace(); + // StatusPrinter will handle this } StatusPrinter.printInCaseOfErrorsOrWarnings(lc); diff --git a/logback-site/src/site/pages/manual/configuration.html b/logback-site/src/site/pages/manual/configuration.html index d9f801a..5b5bf09 100644 --- a/logback-site/src/site/pages/manual/configuration.html +++ b/logback-site/src/site/pages/manual/configuration.html @@ -497,7 +497,7 @@ public class MyApp3 { lc.reset(); configurator.doConfigure(args[0]); } catch (JoranException je) { - je.printStackTrace(); + // StatusPrinter will handle this } StatusPrinter.printInCaseOfErrorsOrWarnings(lc);</b> diff --git a/logback-site/src/site/pages/manual/layouts.html b/logback-site/src/site/pages/manual/layouts.html index f91d654..99a2c74 100644 --- a/logback-site/src/site/pages/manual/layouts.html +++ b/logback-site/src/site/pages/manual/layouts.html @@ -576,6 +576,23 @@ WARN [main]: Message 2</p> <td>20 oct. 2006;14:06:49.812 </td> </tr> </table> + + <p>In addition to the date pattern, this converter admits a + second option as the timezone. Thus, the + '%date{HH:mm:ss.SSS,Australia/Perth} would print the time in + the time zone of Perth Australia, the worlds most isolated + city. + </p> + + <p>Given that the comma ',' character is the option + separator, the pattern string [HH:mm:ss,SSS] will print the + time in the [SSS] time zone which does not exist. Thus, the + time will be printed in the default GMT timezone. If you + wish to include a comma in your date pattern, then simply + enclose the pattern between quotes. For example, + %date{<b>"</b>HH:mm:ss,SSS<b>"</b>}. + </p> + </td> </tr> diff --git a/pom.xml b/pom.xml index 7f1e6ea..942e470 100755 --- a/pom.xml +++ b/pom.xml @@ -37,7 +37,7 @@ <properties> <!-- slf4j.version property is used below, in logback-classic/pom.xml and in setClasspath.cmd --> - <slf4j.version>1.5.10</slf4j.version> + <slf4j.version>1.5.11</slf4j.version> <consolePlugin.version>1.1.0</consolePlugin.version> </properties> ----------------------------------------------------------------------- Summary of changes: .../main/java/chapters/configuration/MyApp3.java | 2 +- .../src/site/pages/manual/configuration.html | 2 +- logback-site/src/site/pages/manual/layouts.html | 17 +++++++++++++++++ pom.xml | 2 +- 4 files changed, 20 insertions(+), 3 deletions(-) hooks/post-receive -- Logback: the generic, reliable, fast and flexible logging framework.
participants (1)
-
git-noreply@pixie.qos.ch