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: [email protected] [mailto:[email protected]]
On Behalf Of riki
Sent: Mittwoch, 30. November 2011 11:14
To: [email protected]
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
[email protected]
http://www.open.com.au/mailman/listinfo/radiator
_______________________________________________
radiator mailing list
[email protected]
http://www.open.com.au/mailman/listinfo/radiator

Reply via email to