[logback-dev] svn commit: r1655 - in logback-demo/trunk: . src/main/resources

noreply.ceki at qos.ch noreply.ceki at qos.ch
Wed Mar 19 22:11:22 CET 2008


Author: ceki
Date: Wed Mar 19 22:11:22 2008
New Revision: 1655

Modified:
   logback-demo/trunk/pom.xml
   logback-demo/trunk/src/main/resources/logback.xml

Log:
- bumped logback dependency to logback 0.9.9-SNAPSHOT
- grouping example in logback.xml

Modified: logback-demo/trunk/pom.xml
==============================================================================
--- logback-demo/trunk/pom.xml	(original)
+++ logback-demo/trunk/pom.xml	Wed Mar 19 22:11:22 2008
@@ -9,20 +9,20 @@
   <version>1.0</version>
 
   <properties>
-    <lb.version>0.9.8</lb.version>
+    <lb.version>0.9.9-SNAPSHOT</lb.version>
   </properties>
 
 
   <dependencies>
     <dependency>
-			<groupId>struts</groupId>
-			<artifactId>struts</artifactId>
-			<version>1.2.9</version>
-			<scope>compile</scope>
-		</dependency>
+	  <groupId>struts</groupId>
+	  <artifactId>struts</artifactId>
+	  <version>1.2.9</version>
+	  <scope>compile</scope>
+    </dependency>
 
     <dependency>
-    	<groupId>javax.servlet</groupId>
+      <groupId>javax.servlet</groupId>
       <artifactId>servlet-api</artifactId>
       <version>2.4</version>
       <scope>provided</scope>

Modified: logback-demo/trunk/src/main/resources/logback.xml
==============================================================================
--- logback-demo/trunk/src/main/resources/logback.xml	(original)
+++ logback-demo/trunk/src/main/resources/logback.xml	Wed Mar 19 22:11:22 2008
@@ -10,7 +10,7 @@
 		class="ch.qos.logback.core.ConsoleAppender">
 		<layout class="ch.qos.logback.classic.PatternLayout">
 			<pattern>
-				%d{HH:mm:ss.SSS} [%thread] %-5level %logger{32} - %msg%n
+				\(%d{HH:mm:ss.SSS} [%thread]\) %-5level %logger{32} - %msg%n
 			</pattern>
 		</layout>
 	</appender>
@@ -27,7 +27,7 @@
 
 		<layout class="ch.qos.logback.classic.PatternLayout">
 			<Pattern>
-				%d{HH:mm:ss,SSS} [%thread] %-5level %logger{32} - %msg%n
+				%-26(%d{HH:mm:ss,SSS} [%thread]) %-5level %logger{32} - %msg%n
 			</Pattern>
 		</layout>
 	</appender>



More information about the logback-dev mailing list