Browse Source

changed notify level to reduce log output

Dave Schuyler 20 years ago
parent
commit
bf54580d8e

+ 2 - 2
direct/src/actor/Actor.py

@@ -1082,7 +1082,7 @@ class Actor(PandaObject, NodePath):
             anim = animDict.get(animName)
             if anim == None:
                 # anim was not present
-                Actor.notify.warning("couldn't find anim: %s" % (animName))
+                Actor.notify.debug("couldn't find anim: %s" % (animName))
             else:
                 # bind the animation first if we need to
                 if not isinstance(anim[1], AnimControl):
@@ -1149,7 +1149,7 @@ class Actor(PandaObject, NodePath):
                     anim = animDict.get(animName)
                     if anim == None:
                         # anim was not present
-                        Actor.notify.warning("couldn't find anim: %s" % (animName))
+                        Actor.notify.debug("couldn't find anim: %s" % (animName))
                     else:
                         # bind the animation first if we need to
                         if not isinstance(anim[1], AnimControl):

+ 1 - 1
direct/src/distributed/DistributedObject.py

@@ -382,7 +382,7 @@ class DistributedObject(PandaObject):
             return self.__location
 
         def handleChildSetLocation(self, childObj, zoneId):
-            self.notify.info("handleChildSetLocation: %s childId: %s zoneId: %s" %
+            self.notify.debug("handleChildSetLocation: %s childId: %s zoneId: %s" %
                              (self.doId, childObj.doId, zoneId))
             # A new child has just setLocation beneath us.  Give us a
             # chance to run code when a new child sets location to us. For

+ 1 - 1
direct/src/distributed/DoCollectionManager.py

@@ -131,7 +131,7 @@ class DoCollectionManager:
             zoneId = di.getUint32()
             obj = self.doId2do.get(doId)
             if obj is not None:
-                self.notify.info(
+                self.notify.debug(
                     "handleObjectLocation: doId: %s parentId: %s zoneId: %s"%
                     (doId, parentId, zoneId))
                 # Let the object finish the job