[Opensrf-commits] r1435 - trunk/src/libopensrf
svn at svn.open-ils.org
svn at svn.open-ils.org
Mon Sep 22 09:07:30 EDT 2008
Author: erickson
Date: 2008-09-22 09:07:29 -0400 (Mon, 22 Sep 2008)
New Revision: 1435
Modified:
trunk/src/libopensrf/osrf_cache.c
Log:
expired cache data is a common occurrence. log at debug level, not warning
Modified: trunk/src/libopensrf/osrf_cache.c
===================================================================
--- trunk/src/libopensrf/osrf_cache.c 2008-09-19 19:28:15 UTC (rev 1434)
+++ trunk/src/libopensrf/osrf_cache.c 2008-09-22 13:07:29 UTC (rev 1435)
@@ -59,7 +59,7 @@
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 @@
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;
More information about the opensrf-commits
mailing list