Add more information to Logfile?

Fajar A. Nugraha list at fajar.net
Mon May 30 15:53:34 CEST 2011


On Mon, May 30, 2011 at 8:30 PM,  <thomas.dohl at 24-7-it-services.de> wrote:
> Hi,
>
> I'm sorry, but I can't find any usefull informations
> in (http://wiki.freeradius.org/Radiusd.conf).
>
> Please, can you give me a little bit more informations?
>

It should be possible to disable auth logging (auth=no) on
radiusd.conf and enable linelog module with your own logging format
and filename

https://github.com/alandekok/freeradius-server/blob/v2.1.x/raddb/modules/linelog

Use the linelog module on authorize/authenticate/accounting section
(whichever you need). Also, depending on your needs, it might be
easier to create separate linelog module instance that will be called
in different sections.

You should be able to use either %{NAS-IP-Address} or
%{Client-IP-Address} to record NAS IP address.

-- 
Fajar



More information about the Freeradius-Users mailing list