configure radius to write detailed log to multiple files
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
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.
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 } But it didn't write to the testfile1.log for some reason. Is this what you mean by "Configure two detail modules"? Thank you, kab On Tue, Nov 16, 2010 at 11:31 AM, Alan DeKok <aland@deployingradius.com>wrote:
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
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
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
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.Buxey@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
participants (4)
-
Alan Buxey -
Alan DeKok -
Johan Meiring -
kabilius smith