[RADIATOR] AcctLogFileName not working as expected
riki
phobie at axfr.org
Wed Nov 30 04:43:45 CST 2011
Hello Remo,
i missed following in reference manual:
· Look for a Realm with an exact match on the realm name
· If still no exact match, look for a matching regular expression Realm
· If still no match, look for a <Realm DEFAULT>
· If still no match, look at each Handler in the order they appear in
the configuration
file until one where all the check items match the request.
· If still no match, ignore (i.e. do not reply to) the request.
you are right, it is working as expected, i didn`t read the
documentation carefully.
Thank a lot for kicking me in right direction.
r.
On 11/30/11 11:28, Ryter Remo wrote:
> Hi Riki,
>
> Radiator looks first for a Realm with exact match on the realm name,
> then matching regular expression Realm, then <Realm DEFAULT> and
> afterwards for a Handler.
>
> You may want to try this:
>
> <Handler User-Name=/(.+)sk$/>
> SessionDatabase SDNull
> AcctLogFileName %L/acct-test-%Y%m%d
> </Handler>
>
> <Handler>
> AcctLogFileName %L/acct-adsl-all-%Y%m%d
> </Handler>
>
> Then the 'default' handler should only kick in when the User-Name
> doesn't match.
>
> Hope that helps,
> --Remo
>
> -----Original Message-----
> From: radiator-bounces at open.com.au [mailto:radiator-bounces at open.com.au]
> On Behalf Of riki
> Sent: Mittwoch, 30. November 2011 11:14
> To: radiator at open.com.au
> Subject: [RADIATOR] AcctLogFileName not working as expected
>
> Hello,
>
> i have very simple setup of accounting-only instance, handlers looks
> like this:
>
> <Handler User-Name=/(.+)sk$/>
> SessionDatabase SDNull
> AcctLogFileName %L/acct-test-%Y%m%d
> </Handler>
>
> <Realm DEFAULT>
> AcctLogFileName %L/acct-adsl-all-%Y%m%d
> </Realm>
>
> but all the accounting records falls to DEFAULT Realm.
>
> What am i missing here?
>
> Thanks.
>
> r.
> _______________________________________________
> radiator mailing list
> radiator at open.com.au
> http://www.open.com.au/mailman/listinfo/radiator
More information about the radiator
mailing list