Output debug for virtual expansions
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Fri, 12 Dec 2014 18:02:23 +0000 (13:02 -0500)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Fri, 12 Dec 2014 18:31:54 +0000 (13:31 -0500)
src/main/xlat.c

index 7add60c..a0adc80 100644 (file)
@@ -2072,6 +2072,8 @@ static char *xlat_aprint(TALLOC_CTX *ctx, REQUEST *request, xlat_exp_t const * c
                        talloc_free(str);
                        return NULL;
                }
+               RDEBUG2("EXPAND %s", node->xlat->name);
+               RDEBUG2("   --> %s", str);
                break;
 
        case XLAT_MODULE: