]> git.mxchange.org Git - simgear.git/commitdiff
Logging: quiet down model/image loading policy.
authorjmt <jmt>
Mon, 14 Sep 2009 12:20:03 +0000 (12:20 +0000)
committerTim Moore <timoore@redhat.com>
Thu, 17 Sep 2009 10:13:47 +0000 (12:13 +0200)
simgear/scene/model/ModelRegistry.cxx

index 09c4270c9755e2845be266a105985cf0ef0a0d2d..3b5b545c4101b48cd93129b34a716c9bef01cf0d 100644 (file)
@@ -347,10 +347,10 @@ ModelRegistry::readImage(const string& fileName,
         }
         
         if (res.loadedFromCache())
-            SG_LOG(SG_IO, SG_INFO, "Returning cached image \""
+            SG_LOG(SG_IO, SG_BULK, "Returning cached image \""
                    << res.getImage()->getFileName() << "\"");
         else
-            SG_LOG(SG_IO, SG_INFO, "Reading image \""
+            SG_LOG(SG_IO, SG_BULK, "Reading image \""
                    << res.getImage()->getFileName() << "\"");
 
         return res;
@@ -365,10 +365,10 @@ osg::Node* DefaultCachePolicy::find(const string& fileName,
     osg::Node* cached
         = dynamic_cast<Node*>(registry->getFromObjectCache(fileName));
     if (cached)
-        SG_LOG(SG_IO, SG_INFO, "Got cached model \""
+        SG_LOG(SG_IO, SG_BULK, "Got cached model \""
                << fileName << "\"");
     else
-        SG_LOG(SG_IO, SG_INFO, "Reading model \""
+        SG_LOG(SG_IO, SG_BULK, "Reading model \""
                << fileName << "\"");
     return cached;
 }