From c01c2fcba0a5969a1384c9c04737bdb22b07309e Mon Sep 17 00:00:00 2001
From: Yoshinori Okuji <yo@nexedi.com>
Date: Thu, 26 Aug 2004 13:34:30 +0000
Subject: [PATCH] Disable some logs.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@1435 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5Type/Cache.py | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/product/ERP5Type/Cache.py b/product/ERP5Type/Cache.py
index 880c098d1d..8209b05599 100755
--- a/product/ERP5Type/Cache.py
+++ b/product/ERP5Type/Cache.py
@@ -124,7 +124,7 @@ class CachingMethod:
 
     obj = cached_object_dict.get(index)
     if obj is None or obj.time + obj.duration < now:
-      LOG('CachingMethod', 0, 'cache miss: id = %s, duration = %s, method = %s, args = %s, kwd = %s' % (str(self.id), str(self.duration), str(self.method), str(args), str(kwd)))
+      #LOG('CachingMethod', 0, 'cache miss: id = %s, duration = %s, method = %s, args = %s, kwd = %s' % (str(self.id), str(self.duration), str(self.method), str(args), str(kwd)))
       if obj is None:
         obj = CachedObject()
       obj.time = now
@@ -133,7 +133,8 @@ class CachingMethod:
 
       cached_object_dict[index] = obj
     else:
-      LOG('CachingMethod', 0, 'cache hit: id = %s, duration = %s, method = %s, args = %s, kwd = %s' % (str(self.id), str(self.duration), str(self.method), str(args), str(kwd)))
+      #LOG('CachingMethod', 0, 'cache hit: id = %s, duration = %s, method = %s, args = %s, kwd = %s' % (str(self.id), str(self.duration), str(self.method), str(args), str(kwd)))
+      pass
 
     return obj.result
 
-- 
2.30.9