svn commit: r801522 - /ofbiz/trunk/framework/common/src/org/ofbiz/common/email/EmailServices.java

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r801522 - /ofbiz/trunk/framework/common/src/org/ofbiz/common/email/EmailServices.java

jacopoc
Author: jacopoc
Date: Thu Aug  6 07:10:21 2009
New Revision: 801522

URL: http://svn.apache.org/viewvc?rev=801522&view=rev
Log:
The context of the email is now logged only at verbose level.

Modified:
    ofbiz/trunk/framework/common/src/org/ofbiz/common/email/EmailServices.java

Modified: ofbiz/trunk/framework/common/src/org/ofbiz/common/email/EmailServices.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/common/src/org/ofbiz/common/email/EmailServices.java?rev=801522&r1=801521&r2=801522&view=diff
==============================================================================
--- ofbiz/trunk/framework/common/src/org/ofbiz/common/email/EmailServices.java (original)
+++ ofbiz/trunk/framework/common/src/org/ofbiz/common/email/EmailServices.java Thu Aug  6 07:10:21 2009
@@ -283,7 +283,8 @@
         String mailEnabled = UtilProperties.getPropertyValue("general.properties", "mail.notifications.enabled", "N");
         if (!"Y".equalsIgnoreCase(mailEnabled)) {
             // no error; just return as if we already processed
-            Debug.logImportant("Mail notifications disabled in general.properties; What would have been sent, the addressee: " + sendTo + " subject: " + subject + " context: " + context, module);
+            Debug.logImportant("Mail notifications disabled in general.properties; mail with subject [" + subject + "] not sent to addressee [" + sendTo + "]", module);
+            Debug.logVerbose("What would have been sent, the addressee: " + sendTo + " subject: " + subject + " context: " + context, module);
             results.put("messageWrapper", new MimeMessageWrapper(session, mail));
             return results;
         }