diff --git a/core/src/main/java/hudson/tasks/MailSender.java b/core/src/main/java/hudson/tasks/MailSender.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/hudson/tasks/MailSender.java
+++ b/core/src/main/java/hudson/tasks/MailSender.java
@@ -363,5 +363,5 @@ public class MailSender {
 
     public static boolean debug = false;
 
-    private static final int MAX_LOG_LINES = 250;
+    private static final int MAX_LOG_LINES = Integer.getInteger(MailSender.class.getName()+".maxLogLines",250);
 }
allowed this to be configured via a system property. Interim solution until we really fix the e-mail notification.

git-svn-id: <URL>