In /etc/raddb/acct_users file: DEFAULT Acct-Status-Type == Interim-Update, Acct-Type := empty And in /etc/raddb/radiusd.conf: modules { always ok { rcode = ok } ... } ... accounting { # Log start & stop detail Acct-Type empty { ok } } -- Nicolas Baradakis Can i also put the empty section only in detail module because i have a sql line in account (to log everything) I wouldlike only to disable it in detail accounting. ------- Forwarded message follows ------- From: Breuer Nicolas <Nicolas.Breuer@Belcenter.biz> To: freeradius-users@lists.freeradius.org Subject: Detail Filter method Send reply to: Nicolas.Breuer@BelCenter.biz Date sent: Fri, 03 Feb 2006 10:54:43 +0100 Hello all, I'm using the "detailled" logs with FreeRadius. I wouldlike to filter the interim updates to not logged them. Is it possible ?? I wouldlike to only have a logs files with start & stop.. It would be a nice option, i think.. ------- End of forwarded message ------- Breuer Nicolas Content & Marketing Manager. Network Supervisor. BELCENTER ISP & PORTALS Avenue Henri Conscience, 94 B -1140 Bruxelles Tél. :+32 2 243 0 243 Fax :+32 2 243 0 244 Mobile :+32 486 50 27 87 E-Mail : Nicolas.Breuer@Belcenter.biz http://www.BelCenter.be | http://www.BelCenter.net http://www.BelCenter.lu | http://www.BelCenter.nl
Breuer Nicolas wrote:
Can i also put the empty section only in detail module because i have a sql line in account (to log everything)
I wouldlike only to disable it in detail accounting.
Please no HTML to the list. You can add the sql module in the subsection, as explained in the provided documentation: http://freeradius.org/radiusd/doc/Acct-Type For example, in acct_users: DEFAULT Acct-Status-Type == Interim-Update, Acct-Type := interim And in radiusd.conf: accounting { sql detail Acct-Type interim { sql } } -- Nicolas Baradakis
participants (2)
-
Breuer Nicolas -
Nicolas Baradakis