log virtual server (patch)

Peter Nixon listuser at peternixon.net
Mon Jun 23 10:35:39 CEST 2008


On Mon 23 Jun 2008, Alan DeKok wrote:
> Michael Bretterklieber wrote:
> > could you give me please some hints?
> > should this string be something like:
> > '%{User-Name} %{Server-Name}', using xlat?
>
>   It should start off being the same format as is currently in
> rad_authlog.
>
> > Inside which section of the configfile should it reside, the log {}
> > section?
> > log {
> >    log_auth_format = '%{User-Name} %{Server-Name} ...';
> > }
>
>   I'd say:
>
> log {
> 	auth_accept_message = ...
> 	auth_reject_message = ...
> }
>
>   On the other hand, if there's a lot of "auth_*" things, it may be
> worth putting them into a subsection of the "log" section, and stripping
> off the "auth_" prefix.  But that can be done later.

You may wish to have a look at rlm_acctlog :-)

Regards

-- 

Peter Nixon
http://peternixon.net/



More information about the Freeradius-Devel mailing list