(RADIATOR) Splitting logfiles

Deniz Aydin deniza at netone.net.tr
Mon May 1 02:10:56 CDT 2006


Hi,

Thanks for your help. I am still using to log file for every hour. But
now I need to rotate them for ever five minutes, as they getting bigger
for an hour. We can do with this with scripting but, I think its better
do with this radiator if its possible.

-----Original Message-----
From: Hugh Irvine [mailto:hugh at open.com.au] 
Sent: Monday, May 01, 2006 10:02 AM
To: Deniz Aydin
Cc: Patrick Renkens; radiator at open.com.au
Subject: Re: (RADIATOR) Splitting logfiles



Hello Deniz -

This will create a new log file every hour:

LogFile  %L/log-%Y-%m-%d-%H

and this will create a new log file every minute:

LogFile  %L/log-%Y-%m-%d-%H-%M

See section 5.2 in the Radiator 3.14 reference manual ("doc/ref.html").

regards

Hugh




On 1 May 2006, at 16:49, Deniz Aydin wrote:

> Hi,
>
> Is there possibility to rotate log files for every 5 minute or sth
> like
> that?
>
> -----Original Message-----
> From: owner-radiator at open.com.au [mailto:owner-
> radiator at open.com.au] On
> Behalf Of Hugh Irvine
> Sent: Saturday, April 29, 2006 2:12 AM
> To: Patrick Renkens
> Cc: radiator at open.com.au
> Subject: Re: (RADIATOR) Splitting logfiles
>
>
>
> Hello Patrick -
>
> You can use special characters in the file name:
>
> For example
>
>
> LogFile %L/log-%Y-%m-%d

> will generate logs in the LogDir directory with file names like this:
>
> log-2006-04-29
>
> a new log file will be created every day.
>
> See section 5.4.9 in the Radiator 3.14 reference manual ("doc/ 
> ref.html").
>
> The special characters are defined in section 5.2 of the manual.
>
> regards
>
> Hugh
>
>
>
> On 28 Apr 2006, at 21:49, Patrick Renkens wrote:
>
>>
>> Hi all,
>>
>> Since we have different types of users, for instance Wireless and 
>> dail-in users, I would like to split loginfo into separate logfiles 
>> for these kind of users.
>>
>> If I define a logfile with the global parameter 'LogFile' and I use a

>> <Log File> clause in a handler, it seems that loginfo is stored in 
>> both the defined logfiles.
>>
>> Is there a way to split loginfo without duplicating information? 
>> Thanks in advance.
>>
>> --
>>
>> Regards,
>> Patrick Renkens
>>
>>
>>
>> --
>> Archive at http://www.open.com.au/archives/radiator/
>> Announcements on radiator-announce at open.com.au
>> To unsubscribe, email 'majordomo at open.com.au' with 'unsubscribe 
>> radiator' in the body of the message.
>
>
> NB:
>
> Have you read the reference manual ("doc/ref.html")?
> Have you searched the mailing list archive (www.open.com.au/archives/ 
> radiator)? Have you had a quick look on Google (www.google.com)?
> Have you included a copy of your configuration file (no secrets),
> together with a trace 4 debug showing what is happening?
>
> --
> Radiator: the most portable, flexible and configurable RADIUS server
> anywhere. Available on *NIX, *BSD, Windows, MacOS X.
> -
> Nets: internetwork inventory and management - graphical, extensible,
> flexible with hardware, software, platform and database independence.
> -
> CATool: Private Certificate Authority for Unix and Unix-like systems.
>
>
> --
> Archive at http://www.open.com.au/archives/radiator/
> Announcements on radiator-announce at open.com.au
> To unsubscribe, email 'majordomo at open.com.au' with 'unsubscribe 
> radiator' in the body of the message.


NB:

Have you read the reference manual ("doc/ref.html")?
Have you searched the mailing list archive (www.open.com.au/archives/ 
radiator)?
Have you had a quick look on Google (www.google.com)?
Have you included a copy of your configuration file (no secrets),
together with a trace 4 debug showing what is happening?

-- 
Radiator: the most portable, flexible and configurable RADIUS server
anywhere. Available on *NIX, *BSD, Windows, MacOS X.
-
Nets: internetwork inventory and management - graphical, extensible,
flexible with hardware, software, platform and database independence.
-
CATool: Private Certificate Authority for Unix and Unix-like systems.



--
Archive at http://www.open.com.au/archives/radiator/
Announcements on radiator-announce at open.com.au
To unsubscribe, email 'majordomo at open.com.au' with
'unsubscribe radiator' in the body of the message.


More information about the radiator mailing list