log virtual server (patch)

Alan DeKok aland at deployingradius.com
Mon Jun 23 09:55:54 CEST 2008

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.

  Alan DeKok.

More information about the Freeradius-Devel mailing list