Writing Modules: Get Debug Level

g4-lisz at tonarchiv.ch g4-lisz at tonarchiv.ch
Sat Sep 17 12:55:46 UTC 2022


Hi everyone

I have a simple porgramming question: I want some program block only 
executed on a certain debug level, like:

if (loglevel == LEVEL_DEBUG2) {
     calculate( &something );
     DEBUG2(..., something);
}

Best reagrds,
Till



More information about the Freeradius-Users mailing list