From b20a635db01b6838fb20b72a5030497edd8d4381 Mon Sep 17 00:00:00 2001 From: jmt Date: Mon, 14 Sep 2009 12:20:03 +0000 Subject: [PATCH] Logging: quiet down model/image loading policy. --- simgear/scene/model/ModelRegistry.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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; } -- 2.39.5