You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by jb...@apache.org on 2013/11/27 18:34:26 UTC

git commit: show how to make logback formatting match pre-2.1 default format

Updated Branches:
  refs/heads/trunk 57e959d88 -> bb60ad35b


show how to make logback formatting match pre-2.1 default format


Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo
Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/bb60ad35
Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/bb60ad35
Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/bb60ad35

Branch: refs/heads/trunk
Commit: bb60ad35bc0d765a6a9f2c9735cf5da815cbc54d
Parents: 57e959d
Author: Jonathan Ellis <jb...@apache.org>
Authored: Wed Nov 27 11:34:15 2013 -0600
Committer: Jonathan Ellis <jb...@apache.org>
Committed: Wed Nov 27 11:34:15 2013 -0600

----------------------------------------------------------------------
 conf/logback.xml | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/bb60ad35/conf/logback.xml
----------------------------------------------------------------------
diff --git a/conf/logback.xml b/conf/logback.xml
index 363faee..c4dd3eb 100644
--- a/conf/logback.xml
+++ b/conf/logback.xml
@@ -13,6 +13,9 @@
     </triggeringPolicy>
     <encoder>
       <pattern>%-5level [%thread] %date{ISO8601} %F:%L - %msg%n</pattern>
+      <!-- old-style log format
+      <pattern>%5level [%thread] %date{ISO8601} %F (line %L) %msg%n</pattern>
+      -->
     </encoder>
   </appender>
   
@@ -28,4 +31,4 @@
   </root>
   
   <logger name="org.apache.thrift.server.TNonblockingServer" level="ERROR"/>
-</configuration>
\ No newline at end of file
+</configuration>