[Erp5-report] r16861 - /erp5/trunk/products/ERP5SyncML/SynchronizationTool.py

nobody at svn.erp5.org nobody at svn.erp5.org
Fri Oct 5 14:02:44 CEST 2007


Author: nicolas
Date: Fri Oct  5 14:02:42 2007
New Revision: 16861

URL: http://svn.erp5.org?rev=16861&view=rev
Log:
Change LOG level, hide log

Modified:
    erp5/trunk/products/ERP5SyncML/SynchronizationTool.py

Modified: erp5/trunk/products/ERP5SyncML/SynchronizationTool.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5SyncML/SynchronizationTool.py?rev=16861&r1=16860&r2=16861&view=diff
==============================================================================
--- erp5/trunk/products/ERP5SyncML/SynchronizationTool.py (original)
+++ erp5/trunk/products/ERP5SyncML/SynchronizationTool.py Fri Oct  5 14:02:42 2007
@@ -39,7 +39,7 @@
 from Products.ERP5SyncML import Conduit
 from Publication import Publication, Subscriber
 from Products.BTreeFolder2.BTreeFolder2 import BTreeFolder2
-from Subscription import Subscription, Signature
+from Subscription import Subscription
 from XMLSyncUtils import Parse
 #from Ft.Xml import Parse
 from Products.ERP5Type import Permissions
@@ -820,12 +820,11 @@
     We will look at the url and we will see if we need to send mail, http
     response, or just copy to a file.
     """
-    #LOG('sendResponse, self.getPhysicalPath: ', DEBUG, self.getPhysicalPath())
-    #LOG('sendResponse, to_url: ', DEBUG, to_url)
-    #LOG('sendResponse, from_url: ', DEBUG, from_url)
-    #LOG('sendResponse, sync_id: ', DEBUG, sync_id)
-    #LOG('sendResponse, xml: \n', DEBUG, xml)
-
+    #LOG('sendResponse, self.getPhysicalPath: ', INFO, self.getPhysicalPath())
+    #LOG('sendResponse, to_url: ', INFO, to_url)
+    #LOG('sendResponse, from_url: ', INFO, from_url)
+    #LOG('sendResponse, sync_id: ', INFO, sync_id)
+    #LOG('sendResponse, xml: \n', INFO, xml)
     if content_type == self.CONTENT_TYPE['SYNCML_WBXML']:
       xml = self.xml2wbxml(xml)
       #LOG('sendHttpResponse, xml after wbxml: \n', DEBUG, self.hexdump(xml))
@@ -1027,7 +1026,7 @@
         commands.getstatusoutput('rm -f /tmp/%s.gz.gpg' % filename)
       # Get the target and then find the corresponding publication or
       # Subscription
-      LOG('type(text) : ', TRACE, type(text))
+      #LOG('type(text) : ', TRACE, type(text))
       if domain.getSyncContentType() == self.CONTENT_TYPE['SYNCML_WBXML']:
         text = self.wbxml2xml(text)
       #LOG('readResponse, text after wbxml :\n', TRACE, text)




More information about the Erp5-report mailing list