svn commit: r428656 - in /incubator/ofbiz/trunk/framework: base/config/ofbiz-containers.xml service/src/org/ofbiz/service/mail/JavaMailContainer.java

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

svn commit: r428656 - in /incubator/ofbiz/trunk/framework: base/config/ofbiz-containers.xml service/src/org/ofbiz/service/mail/JavaMailContainer.java

jleroux@apache.org
Author: jleroux
Date: Fri Aug  4 01:17:12 2006
New Revision: 428656

URL: http://svn.apache.org/viewvc?rev=428656&view=rev
Log:
Debug.logVerbose instead of Debug.logInfo in JavaMailContainer.java
Property name="mail.debug" to false in ofbiz-containers.xml
This close Apache OFBIZ-24


Modified:
    incubator/ofbiz/trunk/framework/base/config/ofbiz-containers.xml
    incubator/ofbiz/trunk/framework/service/src/org/ofbiz/service/mail/JavaMailContainer.java

Modified: incubator/ofbiz/trunk/framework/base/config/ofbiz-containers.xml
URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/framework/base/config/ofbiz-containers.xml?rev=428656&r1=428655&r2=428656&view=diff
==============================================================================
--- incubator/ofbiz/trunk/framework/base/config/ofbiz-containers.xml (original)
+++ incubator/ofbiz/trunk/framework/base/config/ofbiz-containers.xml Fri Aug  4 01:17:12 2006
@@ -59,7 +59,7 @@
             <property name="mail.host" value="[host]"/>
             <property name="mail.user" value="[user]"/>
             <property name="mail.pass" value="[pass]"/>
-            <property name="mail.debug" value="true"/>
+            <property name="mail.debug" value="false"/>
         </property>
     </container>
 

Modified: incubator/ofbiz/trunk/framework/service/src/org/ofbiz/service/mail/JavaMailContainer.java
URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/framework/service/src/org/ofbiz/service/mail/JavaMailContainer.java?rev=428656&r1=428655&r2=428656&view=diff
==============================================================================
--- incubator/ofbiz/trunk/framework/service/src/org/ofbiz/service/mail/JavaMailContainer.java (original)
+++ incubator/ofbiz/trunk/framework/service/src/org/ofbiz/service/mail/JavaMailContainer.java Fri Aug  4 01:17:12 2006
@@ -141,7 +141,7 @@
     public void stop() throws ContainerException {
         // stop the poller
         this.pollTimer.cancel();
-        Debug.logInfo("stop JavaMail poller", module);
+        Debug.logVerbose("stop JavaMail poller", module);
     }
 
     // java-mail methods
@@ -171,7 +171,7 @@
         // re-write the URLName including the password for this store
         if (store != null && store.getURLName() != null) {
             URLName urlName = this.updateUrlName(store.getURLName(), session.getProperties());
-            Debug.log("URLName - " + urlName.toString(), module);
+            Debug.logVerbose("URLName - " + urlName.toString(), module);
             try {
                 store = session.getStore(urlName);
             } catch (NoSuchProviderException e) {
@@ -223,7 +223,7 @@
             }
         }
 
-        Debug.logInfo("Update URL - " + protocol + "://" + userName + "@" + host + ":" + port + "!" + password + ";" + file, module);
+        Debug.logVerbose("Update URL - " + protocol + "://" + userName + "@" + host + ":" + port + "!" + password + ";" + file, module);
         return new URLName(protocol, host, port, file, userName, password);
     }
 
@@ -240,7 +240,7 @@
                     break;
             }
 
-            Debug.log("JavaMail " + typeString + event.getMessage(), module);
+            Debug.logVerbose("JavaMail " + typeString + event.getMessage(), module);
         }
     }