瀏覽代碼

reduced logging

Darren Ranalli 19 年之前
父節點
當前提交
b018d90933
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      direct/src/distributed/DoInterestManager.py

+ 3 - 3
direct/src/distributed/DoInterestManager.py

@@ -79,7 +79,7 @@ class DoInterestManager(DirectObject.DirectObject):
         tempbase = base
         tempbase = base
     except:
     except:
         tempbase = simbase
         tempbase = simbase
-    InterestDebug = tempbase.config.GetBool('interest-debug', True)
+    InterestDebug = tempbase.config.GetBool('interest-debug', False)
     del tempbase
     del tempbase
 
 
     # 'handle' is a number that represents a single interest set that the
     # 'handle' is a number that represents a single interest set that the
@@ -281,7 +281,7 @@ class DoInterestManager(DirectObject.DirectObject):
     def openAutoInterests(self, obj):
     def openAutoInterests(self, obj):
         if hasattr(obj, '_autoInterestHandle'):
         if hasattr(obj, '_autoInterestHandle'):
             # must be multiple inheritance
             # must be multiple inheritance
-            self.notify.warning('openAutoInterests(%s): interests already open' % obj.__class__.__name__)
+            self.notify.debug('openAutoInterests(%s): interests already open' % obj.__class__.__name__)
             return
             return
         autoInterests = obj.getAutoInterests()
         autoInterests = obj.getAutoInterests()
         obj._autoInterestHandle = None
         obj._autoInterestHandle = None
@@ -291,7 +291,7 @@ class DoInterestManager(DirectObject.DirectObject):
     def closeAutoInterests(self, obj):
     def closeAutoInterests(self, obj):
         if not hasattr(obj, '_autoInterestHandle'):
         if not hasattr(obj, '_autoInterestHandle'):
             # must be multiple inheritance
             # must be multiple inheritance
-            self.notify.warning('closeAutoInterests(%s): interests already closed' % obj)
+            self.notify.debug('closeAutoInterests(%s): interests already closed' % obj)
             return
             return
         if obj._autoInterestHandle is not None:
         if obj._autoInterestHandle is not None:
             self.removeInterest(obj._autoInterestHandle, auto=True)
             self.removeInterest(obj._autoInterestHandle, auto=True)