From: Daniel Salzman Date: Wed, 24 Dec 2025 08:46:33 +0000 (+0100) Subject: redis: add debug log if communication with connected db failed (e.g. TLS mismatch) X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d74234be86f5e1df0e0e0eecc64ce6a2bc64623d;p=thirdparty%2Fknot-dns.git redis: add debug log if communication with connected db failed (e.g. TLS mismatch) --- diff --git a/src/knot/common/hiredis.c b/src/knot/common/hiredis.c index f7f4933c07..bcf4e2e0a8 100644 --- a/src/knot/common/hiredis.c +++ b/src/knot/common/hiredis.c @@ -358,6 +358,8 @@ redisContext *rdb_connect(conf_t *conf, bool require_master, const char *info) goto connected; } } else { + log_debug("rdb, failed to query, remote %s%s%.0u", + addr_str, (port != 0 ? "@" : ""), port); redisFree(rdb); }