linelog (special character)

Alan DeKok aland at deployingradius.com
Thu Apr 23 15:43:06 CEST 2015


On Apr 23, 2015, at 9:32 AM, Peter Balsianok <balsianok.peter at gmail.com> wrote:

> It`s not working.
> 
> linelog configration:
> linelog log_request {
>  filename = ${logdir}radius.log
>  format = "%t \001 \002 \003 \004 \005 \006 \007 \010"
> }

  Put the non-ASCII characters into an attribute, and then use that:

	Tmp-Octets-0 := 0x01020304

linelog {
	...
	format = "%t &Tmp-Octets-0"
}

  I think that works.

  Alan DeKok.




More information about the Freeradius-Users mailing list