confused by logging targets for rlm_perl

Olivier Bilodeau obilodeau at inverse.ca
Wed Feb 22 02:11:08 CET 2012


Hi there!

It's been a while.. François turned out to be our official
freeradius-users correspondent lately ;)

So, I'm changing some things in our rlm_perl module and tried to make a
better use of the logging facilities provided by the freeradius core.

http://wiki.freeradius.org/Rlm_perl#Logging refers to:
0 - Debug
1 - Auth
2 - Proxy
3 - Info
4 - Error

However in practice my tests today revealed behavior that I would prefer
be clarified by one of the gurus here.

With file logging, auth = yes and sending messages with
&radiusd::radlog() I found that:
Debug, Info and Error goes to the radius.log file while Auth does not.

I haven't tried Proxy or Acct (which is available according to
src/main/log.c).

I expected Debug not to go out in radius.log and Auth to do since I
specified Auth to yes in radiusd.conf.

With radius -X, as expected, I got everything.

Am I missing something here? Is this a bug or a feature(tm)?

Running freeradius 2.1.12.

Thanks,
-- 
Olivier Bilodeau
obilodeau at inverse.ca  ::  +1.514.447.4918 *115  ::  www.inverse.ca
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence
(www.packetfence.org)



More information about the Freeradius-Users mailing list