]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
rlm_kafka: Bump some debug messages to errors
authorTerry Burton <tez@terryburton.co.uk>
Thu, 1 May 2025 14:12:31 +0000 (15:12 +0100)
committerMatthew Newton <matthew-git@newtoncomputing.co.uk>
Thu, 1 May 2025 15:57:55 +0000 (16:57 +0100)
src/modules/rlm_kafka/rlm_kafka.c

index b957309172cb37e0a515023f7a7a5cfdd41d0359..67ecb56ac657c374a5b24748fd2b312e5d39219c 100644 (file)
@@ -528,7 +528,7 @@ error:
                }
                MEM(headers = talloc_strndup(NULL, q + 1, p - q - 1));
                if (*headers && create_headers(request, headers, &hdrs) < 0) {
-                       RDEBUG3("Failed to create headers");
+                       REDEBUG("Failed to create headers");
                        talloc_free(headers);
                        goto error;
                }
@@ -980,13 +980,13 @@ static rlm_rcode_t CC_HINT(nonnull) kafka_common(void *instance, REQUEST *reques
        schema = cf_pair_value(cp);
 
        if (radius_axlat(&message, request, schema, NULL, NULL) < 0) {
-               RDEBUG3("Failed to expand message schema");
+               REDEBUG("Failed to expand message schema");
                return RLM_MODULE_FAIL;
        }
 
        if (section->key) {
                if (radius_axlat(&key, request, section->key, NULL, NULL) < 0) {
-                       RDEBUG3("Failed to expand key");
+                       REDEBUG("Failed to expand key");
                        talloc_free(message);
                        return RLM_MODULE_FAIL;
                }
@@ -994,7 +994,7 @@ static rlm_rcode_t CC_HINT(nonnull) kafka_common(void *instance, REQUEST *reques
 
        if (section->headers) {
                if (create_headers(request, section->headers, &hdrs) < 0) {
-                       RDEBUG3("Failed to create headers");
+                       REDEBUG("Failed to create headers");
                        talloc_free(message);
                        return RLM_MODULE_FAIL;
                }