On 21 Jun 2013, at 10:03, A.L.M.Buxey@lboro.ac.uk wrote:
Hi,
I`m not able to debug, what does macro RAUTH do :(. Coudl you please help me, thx.
ah. just noticed this is actually with 3.x - yes, the older releases logged but current version doesnt. I'll have to help you out with this as I need logging on that platform :-)
OP was right in that the logging function isn't set and that that's the issue. radlog_request was originally only used for debugging, and then we expanded it to all log message types. It's nicer because it looks at the request structure to figure out things like the current module, and prefixes the log message appropriately. Anyway. ndex 74c2d33..cb11ae3 100644 --- a/src/main/util.c +++ b/src/main/util.c @@ -462,7 +462,7 @@ REQUEST *request_alloc(void) request->module = ""; request->component = "<core>"; - if (debug_flag) request->radlog = radlog_request; + request->radlog = radlog_request; return request; } Should fix it. Arran Cudbard-Bell <a.cudbardb@freeradius.org> FreeRADIUS Development Team