Re: configure radius to write detailed log to multiple files

2010-12-02 Thread kabilius smith
Great, thank you both. I will give it a try right now.

On Wed, Dec 1, 2010 at 1:12 PM, Alan Buxey a.l.m.bu...@lboro.ac.uk wrote:

 Hi,

 to add a second detail module, simply copy the first one and add a name to
 it


 ie

 the first detail file will have something like this...

 detail {

 blah blah

 blah blah

 }



 change this to

 detail detail1 {

 blah blah

 blah blah

 }

 and now make a second file (you can do it all in one file but I find
 it neater to use seperate files for each function!)...eg called detail2
 with the contents

 detail detail2 {

 blah blah

 blah blah

 }

 now, in the configuration files...where it calls 'detail' change that to
 have
 detail1 and detail2  (on 2 lines)

 there. done

 alan
  -
 List info/subscribe/unsubscribe? See
 http://www.freeradius.org/list/users.html

-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: configure radius to write detailed log to multiple files

2010-12-01 Thread Johan Meiring

On 2010/12/01 09:05 PM, kabilius smith wrote:

Hi Alan,
I tried adding another detail module like the following:
detail
{
 detailfile = c:/testfolder/testfile.log
 detailperm = 0777
}
detail
{
 detailfile = c:/testfolder/testfile1.log
 detailperm = 0777
}



Do the following:

detail mydetail1
{
 detailfile = c:/testfolder/testfile.log
 detailperm = 0777
}
detail mydetail2
{
 detailfile = c:/testfolder/testfile1.log
 detailperm = 0777
}

Then in authorisation/accounting instead of listing detail list 
mydetail1 and mydetail2


i.e.

When configuring more than one of the same module type, name them and 
refer to them by name.


Hope that makes sense.





--


Johan Meiring
Cape PC Services CC
Tel: (021) 883-8271
Fax: (021) 886-7782

-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: configure radius to write detailed log to multiple files

2010-12-01 Thread Alan Buxey
Hi,

to add a second detail module, simply copy the first one and add a name to it


ie

the first detail file will have something like this...

detail {

blah blah

blah blah

}



change this to

detail detail1 {

blah blah

blah blah

}

and now make a second file (you can do it all in one file but I find
it neater to use seperate files for each function!)...eg called detail2 with 
the contents

detail detail2 {

blah blah

blah blah

}

now, in the configuration files...where it calls 'detail' change that to have
detail1 and detail2  (on 2 lines)

there. done

alan
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


configure radius to write detailed log to multiple files

2010-11-16 Thread kabilius smith
Hi all,

In my radiusd.conf I have the following

detail {
 detailfile = c:/testfolder/testfile.log
 detailperm = 0777
}

This will write the detail records to testfile.log in c:\testfolder.

Is there a way to configure the radius server to write to a second log file?
I tried to add another line like the following, but it didn't work.

detailfile = c:/testfolder1/testfil.log

Thank you,
kab
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: configure radius to write detailed log to multiple files

2010-11-16 Thread Alan DeKok
kabilius smith wrote:
 Hi all,
  
 In my radiusd.conf I have the following
  
 detail {
  detailfile = c:/testfolder/testfile.log
  detailperm = 0777
 }
  
 This will write the detail records to testfile.log in c:\testfolder.
  
 Is there a way to configure the radius server to write to a second log file?
 I tried to add another line like the following, but it didn't work.

  Configure two detail modules.

  Alan DeKok.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html