From b7d26b1e27a12f4360ef0f80ad19df838e60b9c8 Mon Sep 17 00:00:00 2001 From: erickson Date: Mon, 22 Sep 2008 13:07:29 +0000 Subject: [PATCH] expired cache data is a common occurrence. log at debug level, not warning git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1435 9efc2488-bf62-4759-914b-345cdb29e865 --- src/libopensrf/osrf_cache.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libopensrf/osrf_cache.c b/src/libopensrf/osrf_cache.c index 92fa20b..3626b80 100644 --- a/src/libopensrf/osrf_cache.c +++ b/src/libopensrf/osrf_cache.c @@ -59,7 +59,7 @@ jsonObject* osrfCacheGetObject( const char* key, ... ) { obj = jsonParseString( data ); return obj; } - osrfLogWarning(OSRF_LOG_MARK, "No cache data exists with key %s", VA_BUF); + osrfLogDebug(OSRF_LOG_MARK, "No cache data exists with key %s", VA_BUF); } return NULL; } @@ -69,7 +69,7 @@ char* osrfCacheGetString( const char* key, ... ) { VA_LIST_TO_STRING(key); char* data = (char*) mc_aget(_osrfCache, VA_BUF, strlen(VA_BUF) ); osrfLogInternal( OSRF_LOG_MARK, "osrfCacheGetString(): Returning object: %s", data); - if(!data) osrfLogWarning(OSRF_LOG_MARK, "No cache data exists with key %s", VA_BUF); + if(!data) osrfLogDebug(OSRF_LOG_MARK, "No cache data exists with key %s", VA_BUF); return data; } return NULL; -- 2.11.0