From b018d90933da38360661aee97a9649ee3c5b8220 Mon Sep 17 00:00:00 2001 From: Darren Ranalli Date: Mon, 13 Nov 2006 22:45:53 +0000 Subject: [PATCH] reduced logging --- direct/src/distributed/DoInterestManager.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/direct/src/distributed/DoInterestManager.py b/direct/src/distributed/DoInterestManager.py index 49f085c2bf..de6a29641a 100755 --- a/direct/src/distributed/DoInterestManager.py +++ b/direct/src/distributed/DoInterestManager.py @@ -79,7 +79,7 @@ class DoInterestManager(DirectObject.DirectObject): tempbase = base except: tempbase = simbase - InterestDebug = tempbase.config.GetBool('interest-debug', True) + InterestDebug = tempbase.config.GetBool('interest-debug', False) del tempbase # 'handle' is a number that represents a single interest set that the @@ -281,7 +281,7 @@ class DoInterestManager(DirectObject.DirectObject): def openAutoInterests(self, obj): if hasattr(obj, '_autoInterestHandle'): # 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 autoInterests = obj.getAutoInterests() obj._autoInterestHandle = None @@ -291,7 +291,7 @@ class DoInterestManager(DirectObject.DirectObject): def closeAutoInterests(self, obj): if not hasattr(obj, '_autoInterestHandle'): # must be multiple inheritance - self.notify.warning('closeAutoInterests(%s): interests already closed' % obj) + self.notify.debug('closeAutoInterests(%s): interests already closed' % obj) return if obj._autoInterestHandle is not None: self.removeInterest(obj._autoInterestHandle, auto=True)