adding some redis debug messages

remotes/origin/2.0
Richard Fuchs 13 years ago
parent a0c696e9c4
commit 332e5d59b5

@ -214,6 +214,8 @@ int redis_restore(struct callmaster *m) {
GQueue q = G_QUEUE_INIT;
int i, j, k, l;
mylog(LOG_DEBUG, "Restoring calls from Redis...\n");
rp = redisCommand(r->ctx, "SMEMBERS calls");
if (!rp || rp->type != REDIS_REPLY_ARRAY) {
mylog(LOG_ERR, "Could not retrieve call list from Redis: %s\n", r->ctx->errstr);
@ -227,6 +229,8 @@ int redis_restore(struct callmaster *m) {
if (rp2->type != REDIS_REPLY_STRING)
continue;
mylog(LOG_DEBUG, "Processing call GUID %s from Redis\n", rp2->str);
rp3 = redisCommand(r->ctx, "HMGET %s callid created", rp2->str);
if (!rp3)

Loading…
Cancel
Save