]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Convert error messages to debug messages.
authorAlan T. DeKok <aland@freeradius.org>
Wed, 26 Oct 2011 09:49:20 +0000 (11:49 +0200)
committerAlan T. DeKok <aland@freeradius.org>
Wed, 26 Oct 2011 09:49:20 +0000 (11:49 +0200)
If a module returns NOOP, it's not an error

src/modules/rlm_radutmp/rlm_radutmp.c
src/modules/rlm_unix/rlm_unix.c

index 88e2a4a7535e493d3dc2d98895465fe4ff187ba7..febe08247062d4d52bb80275f68ebde18a855a22 100644 (file)
@@ -205,7 +205,7 @@ static int radutmp_accounting(void *instance, REQUEST *request)
         *      Which type is this.
         */
        if ((vp = pairfind(request->packet->vps, PW_ACCT_STATUS_TYPE)) == NULL) {
-               radlog(L_ERR, "rlm_radutmp: No Accounting-Status-Type record.");
+               RDEBUG("No Accounting-Status-Type record.");
                return RLM_MODULE_NOOP;
        }
        status = vp->vp_integer;
index 5f50aba9f64e310bad7c2079c61d4df74fb34f18..84d7cc1152b73cdb5ae463e316a01140770a10d0 100644 (file)
@@ -440,7 +440,7 @@ static int unix_accounting(void *instance, REQUEST *request)
         *      Which type is this.
         */
        if ((vp = pairfind(request->packet->vps, PW_ACCT_STATUS_TYPE))==NULL) {
-               radlog(L_ERR, "rlm_unix: no Accounting-Status-Type attribute in request.");
+               RDEBUG("no Accounting-Status-Type attribute in request.");
                return RLM_MODULE_NOOP;
        }
        status = vp->vp_integer;