From: jmt Date: Mon, 14 Sep 2009 12:20:03 +0000 (+0000) Subject: Logging: quiet down model/image loading policy. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=b20a635db01b6838fb20b72a5030497edd8d4381;p=simgear.git Logging: quiet down model/image loading policy. --- diff --git a/simgear/scene/model/ModelRegistry.cxx b/simgear/scene/model/ModelRegistry.cxx index 09c4270c..3b5b545c 100644 --- a/simgear/scene/model/ModelRegistry.cxx +++ b/simgear/scene/model/ModelRegistry.cxx @@ -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(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; }