Printing as Integers in linelog

Peter Balsianok balsianok.peter at gmail.com
Sat Apr 25 19:34:24 CEST 2015


Hi,

I want to use "Printing as Integers" %{Attribute-Name#}.
Using %{Event-Timestamp#} will return the event timestamp as an unsigned
32-bit decimal number.

May i use it in linelog ?

Debug output:
(0) log_acct_bras: EXPAND Accounting-Request.%{%{Acct-Status-Type}:-unknown}
(0) log_acct_bras:    --> Accounting-Request.Start
(0) log_acct_bras: EXPAND /app_log/radius/acct/loaders/bdsl-%D.log
(0) log_acct_bras:    --> /app_log/radius/acct/loaders/bdsl-20150425.log
(0) log_acct_bras: ERROR:
%l|%{Acct-Status-Type}|%{Acct-Session-Id}|%{Acct-Unique-Session-Id}|%{User-Name}|%{NAS-IP-Address}|%{Event-Timestamp#}|%{Acct-Session-Time}|%{Connect-Info}|%{Acct-Input-Octets64}|%{Acct-Output-Octets64}|%{Called-Station-Id}|%{Calling-Station-Id}|%{Acct-Terminate-Cause}|%{%{Framed-IP-Address}:-%{Delegated-IPv6-Prefix}:-Unknown}|%{Acct-Delay-Time}|%{Session-Error-Msg}|%{Session-Error-Code}
(0) log_acct_bras: ERROR:
                                                  ^ No matching closing
brace

Thx


More information about the Freeradius-Users mailing list