Log control attributes

Peter Balsianok balsianok.peter at gmail.com
Tue Apr 21 11:33:01 CEST 2015


Perfect. Thank you very much.

Peter

On Tue, Apr 21, 2015 at 9:59 AM, Arran Cudbard-Bell <
a.cudbardb at freeradius.org> wrote:

>
> > On 21 Apr 2015, at 07:42, Peter Balsianok <balsianok.peter at gmail.com>
> wrote:
> >
> > I though something like %Z (in case of request ) in linelog ( write all
> > attributes, doesn`t matter how many attributes are in the control list ).
>
>
> /** Encode attributes as a series of string attribute/value pairs
>  *
>  * This is intended to serialize one or more attributes as a comma
>  * delimited string.
>  *
>  * Example: "%{pairs:request:}" == "User-Name = 'foo', User-Password =
> 'bar'"
>  */
> static ssize_t pairs_xlat(UNUSED void *instance, REQUEST *request,
>                           char const *fmt, char *out, size_t outlen)
> {
>
> -Arran
>
> Arran Cudbard-Bell <a.cudbardb at freeradius.org>
> FreeRADIUS development team
>
> FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2
>
>
> -
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html
>


More information about the Freeradius-Users mailing list