From f87ddbf63454ab1907924f4908f76b29e0cb6b3b Mon Sep 17 00:00:00 2001 From: Yoshinori Okuji <yo@nexedi.com> Date: Fri, 3 Jun 2005 14:40:42 +0000 Subject: [PATCH] Disable excessive LOG calls. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@3180 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/CMFActivity/Activity/SQLQueue.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/product/CMFActivity/Activity/SQLQueue.py b/product/CMFActivity/Activity/SQLQueue.py index 4c59d80efe..969c721da7 100755 --- a/product/CMFActivity/Activity/SQLQueue.py +++ b/product/CMFActivity/Activity/SQLQueue.py @@ -65,7 +65,7 @@ class SQLQueue(RAMQueue): def prepareDeleteMessage(self, activity_tool, m): # Erase all messages in a single transaction - LOG("prepareDeleteMessage", 0, str(m.__dict__)) + #LOG("prepareDeleteMessage", 0, str(m.__dict__)) activity_tool.SQLQueue_delMessage(uid = m.uid) def dequeueMessage(self, activity_tool, processing_node): @@ -244,8 +244,8 @@ class SQLQueue(RAMQueue): if type(value) == type(''): value = [value] result = activity_tool.SQLQueue_validateMessageList(method_id=value, message_uid=None, path=None) - LOG('SQLQueue._validate_after_method_id, method_id',0,value) - LOG('SQLQueue._validate_after_method_id, result[0].uid_count',0,result[0].uid_count) + #LOG('SQLQueue._validate_after_method_id, method_id',0,value) + #LOG('SQLQueue._validate_after_method_id, result[0].uid_count',0,result[0].uid_count) if result[0].uid_count > 0: return INVALID_ORDER return VALID -- 2.30.9