[RADIATOR] AcctLogFileName not working as expected

Ryter Remo Remo.Ryter at comfone.com
Wed Nov 30 04:28:06 CST 2011


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