Message-ID: <297DCD5CCA4AD411A246009027F646B385F245@NETMAIL> From: Graeme Slogrove <Graeme@na.co.za> Subject: RE: [RadiusNT] Radius auth & acct logfiles Date: Tue, 3 Jul 2001 12:38:48 +0200
You'll to stop, rename and then restart.
I wrote an exe that renames and timestamps files.
Give me a shout if you want it.
--- Graeme Slogrove, BSc (Eng) Elec (Wits) Director, New Product Research netActive - For a lifetime connection Tel: 011-719-0333 Fax: 011-719-0444 Support: 0861-22-55-87
-----Original Message----- From: Vinay Mistry [mailto:firstname.lastname@example.org] Sent: 03 July 2001 12:29 To: email@example.com Subject: Re: [RadiusNT] Radius auth & acct logfiles
Hi Their, I have another question when trying to rename the file it says that the file is in use. Would you have to stop and start the Radius Service in the batch file aswell? if so how? and also instead of giving the file name acctx.log can i automatically add acct<date>.log giving a date stamp to the logfile?
Id like to thank all that have replied so far....
> > ----- Original Message ----- > > From: "Josh Hillman" <firstname.lastname@example.org> > > To: <email@example.com> > > Sent: Monday, July 02, 2001 9:06 PM > > Subject: Re: [RadiusNT] Radius auth & acct logfiles > > > > > > > From: "Vinay Mistry" <firstname.lastname@example.org> > > > >I was wondering if anyone could help me. Im running RadiusNT version > > 3.0. > > > I have both text and odbc mode set. Im wondering if their is a way to > > > rotate the auth.log and acct.log files? they just keep on growing out of > > > control. does anyone know of any batch files or utilities to rotate the > > logs > > > automatically? > > > > > > > > > Maybe you could set up a scheduled task in NT/2000 to run a simple batch > > > file every day/week or whatever. Here's a thought for the contents of a > > > batch file: > > > > > > del acct.5.log > > > rename acct.4.log acct.5.log > > > rename acct.3.log acct.4.log > > > rename acct.2.log acct.3.log > > > rename acct.1.log acct.2.log > > > rename acct.log acct.1.log > > > > > > (and do the same for auth.log) > > > > > > If you want to, you can also automatically (via scheduled task) zip up > the > > > files if you install the commandline add-on for WinZip > > > (http://www.winzip.com/wzcline.htm). Of course if you're not going to > > keep > > > them anywhere else, you could just use NTFS' built-in compression. > > > > > > How come you're using text mode if you're already using ODBC? > > > > > > Josh > > > > > > ------------ > > > > > > This is a user supported list. If you require assistance from IEA > > Software's > > > Support Engineers, please check out our Support resources at > > > http://www.iea-software.com/support. > > > > > > For more information about this list (including removal) go to: > > > http://www.iea-software.com/support/maillists/liststart > > >
This is a user supported list. If you require assistance from IEA Software's Support Engineers, please check out our Support resources at http://www.iea-software.com/support.
For more information about this list (including removal) go to: http://www.iea-software.com/support/maillists/liststart .