summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Kleshchev <117672381+akleshchev@users.noreply.github.com>2026-08-05 21:29:34 +0300
committerAndrey Kleshchev <117672381+akleshchev@users.noreply.github.com>2026-08-06 22:36:53 +0300
commitde0a0dc276eacb4a724b58644ddf0e3eeeb0335c (patch)
tree136539ad73d9c815930966750b6e28c4b5673356
parent0af5e55312bfc907cd3ab0a0711d3197f7527f14 (diff)
#6040 Fix object cache logging
mReadOnly is an expected state for second instance. There is nothing to fix, nothing to inform of, so it doesn't deserve a warning. Similar for dirty_cache, it's notmal to not have changes there on shutdown. Might even want it as infos
-rw-r--r--indra/newview/llvocache.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/indra/newview/llvocache.cpp b/indra/newview/llvocache.cpp
index 5d456b1a19..520bc588de 100644
--- a/indra/newview/llvocache.cpp
+++ b/indra/newview/llvocache.cpp
@@ -1754,7 +1754,7 @@ void LLVOCache::writeToCache(U64 handle, const LLUUID& id, const LLVOCacheEntry:
if(mReadOnly)
{
- LL_WARNS() << "Not writing cache for " << filename << " (handle:" << handle << "): Cache is currently in read-only mode." << LL_ENDL;
+ LL_INFOS() << "Not writing cache for " << filename << " (handle:" << handle << "): Cache is currently in read-only mode." << LL_ENDL;
return ;
}
@@ -1795,7 +1795,10 @@ void LLVOCache::writeToCache(U64 handle, const LLUUID& id, const LLVOCacheEntry:
if(!dirty_cache)
{
- LL_WARNS() << "Skipping write to cache for " << filename << " (handle:" << handle << "): cache not dirty" << LL_ENDL;
+ if (!LLAppViewer::instance()->isQuitting())
+ {
+ LL_WARNS() << "Skipping write to cache for " << filename << " (handle:" << handle << "): cache not dirty" << LL_ENDL;
+ }
return ; //nothing changed, no need to update.
}