summaryrefslogtreecommitdiff
path: root/src/db.c
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2011-01-03 17:40:10 +0100
committerantirez <antirez@gmail.com>2011-01-03 17:40:10 +0100
commit5ab7bbfc270c7ee9bf1f7ccafcc5c6a148259425 (patch)
treecc8387f17d4e96552ba08c707ba69fd6269f62c2 /src/db.c
parentbafa88c8b700b1648b561e86dce6ceca4c139d46 (diff)
downloadredis-5ab7bbfc270c7ee9bf1f7ccafcc5c6a148259425.tar.gz
fixed logging level for debugging message
Diffstat (limited to 'src/db.c')
-rw-r--r--src/db.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/db.c b/src/db.c
index 7d2bf4af4..1242c8898 100644
--- a/src/db.c
+++ b/src/db.c
@@ -50,7 +50,7 @@ robj *lookupKey(redisDb *db, robj *key) {
cacheScheduleIOGetFlags(db,key) & REDIS_IO_SAVEINPROG)
{
/* Need to wait for the key to get unbusy */
- redisLog(REDIS_WARNING,"Lookup found a key in SAVEINPROG state. Waiting. (Key was in the cache)");
+ redisLog(REDIS_DEBUG,"Lookup found a key in SAVEINPROG state. Waiting. (Key was in the cache)");
lookupWaitBusyKey(db,key);
}
server.stat_keyspace_hits++;
@@ -76,7 +76,7 @@ robj *lookupKey(redisDb *db, robj *key) {
/* At this point we need to blocking load the key in memory.
* The first thing we do is waiting here if the key is busy. */
if (flags & REDIS_IO_SAVEINPROG) {
- redisLog(REDIS_WARNING,"Lookup found a key in SAVEINPROG state. Waiting (while force loading).");
+ redisLog(REDIS_DEBUG,"Lookup found a key in SAVEINPROG state. Waiting (while force loading).");
lookupWaitBusyKey(db,key);
}