[logback-dev] svn commit: r904 - logback/trunk/logback-classic/src/main/java/ch/qos/logback/classic/net

noreply.seb at qos.ch noreply.seb at qos.ch
Mon Nov 13 15:14:32 CET 2006


Author: seb
Date: Mon Nov 13 15:14:31 2006
New Revision: 904

Modified:
   logback/trunk/logback-classic/src/main/java/ch/qos/logback/classic/net/SMTPAppender.java

Log:
changed default subject line

Modified: logback/trunk/logback-classic/src/main/java/ch/qos/logback/classic/net/SMTPAppender.java
==============================================================================
--- logback/trunk/logback-classic/src/main/java/ch/qos/logback/classic/net/SMTPAppender.java	(original)
+++ logback/trunk/logback-classic/src/main/java/ch/qos/logback/classic/net/SMTPAppender.java	Mon Nov 13 15:14:31 2006
@@ -37,7 +37,7 @@
  */
 public class SMTPAppender extends SMTPAppenderBase {
 
-  static final String DEFAULT_SUBJECT_PATTERN = "%m";
+  static final String DEFAULT_SUBJECT_PATTERN = "%logger{20} - %m";
   
   private int bufferSize = 512;
   protected CyclicBuffer cb = new CyclicBuffer(bufferSize);



More information about the logback-dev mailing list