[sr-dev] [kamailio/kamailio] ndb_redis: enhance debug info related to redis replies (#1175)

Paul Claudiu Boriga notifications at github.com
Mon Jul 3 15:20:18 CEST 2017


claudiupb commented on this pull request.



> @@ -1061,3 +1067,57 @@ int redis_count_err_and_disable(redisc_server_t *rsrv)
 	}
 	return 0;
 }
+
+void print_redis_reply(int log_level, redisReply *rpl,int offset)
+{
+	int i;
+	char padding[MAXIMUM_NESTED_KEYS + 1];
+
+	if (redis_get_debug_level() < log_level)
+		return;
+

Yes, this is a lot better. I will change the commit

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/1175#discussion_r125287638
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20170703/c2d138e7/attachment-0001.html>


More information about the sr-dev mailing list