Re: Rule for don't log specific user session.

2008-03-12 Thread Phil Mayers
Ben Wiechman wrote: With this it wouldn't be that hard to separate the information for a specific subscriber or group into a separate log file would it. Correct. Assuming that the two log options are appropriately configured: Fr 2.x if( User-Name != test-user { # will (Group-Name !=

RE: Rule for don't log specific user session.

2008-03-12 Thread Ben Wiechman
Also, will this take care of both accounting log info and authentication log info? No. See doc/Post-Auth-Type and the post-auth section. Thanks, I'll look there. I'm not much concerned with the accounting info. Our wimax base stations send a keepalive auth request at rather frequent

Re: Rule for don't log specific user session.

2008-03-12 Thread Rafael Medici
Thanks a lot. Regards, Rafael Vincent Magnin wrote: Hello Rafael, It should be possible in Freeradius 2 and using unlang language: if (User-Name != test-user) { sql_log } In previous versions, you can use Acct-Type: preacct { files } accounting { Acct-Type SQL-LOG { sqllog

Re: Rule for don't log specific user session.

2008-03-11 Thread Vincent Magnin
Hello Rafael, It should be possible in Freeradius 2 and using unlang language: if (User-Name != test-user) { sql_log } Regards, Vincent M. Rafael Medici [EMAIL PROTECTED] a écrit : Hello, Is there a way to don't log nothing for a specific user, creating a rule in sql_log? You will

Re: Rule for don't log specific user session.

2008-03-11 Thread Phil Mayers
Vincent Magnin wrote: Hello Rafael, It should be possible in Freeradius 2 and using unlang language: if (User-Name != test-user) { sql_log } In previous versions, you can use Acct-Type: preacct { files } accounting { Acct-Type SQL-LOG { sqllog } } ...then in acct_users:

RE: Rule for don't log specific user session.

2008-03-11 Thread Ben Wiechman
- [EMAIL PROTECTED] [mailto:freeradius-users- [EMAIL PROTECTED] On Behalf Of Phil Mayers Sent: Tuesday, March 11, 2008 6:13 AM To: FreeRadius users mailing list Subject: Re: Rule for don't log specific user session. Vincent Magnin wrote: Hello Rafael, It should be possible