Keeping a set amount of detail logs
Matt Alexander
lowbassman at gmail.com
Fri Jul 18 02:38:25 CEST 2008
On Thu, Jul 17, 2008 at 7:49 AM, Alan DeKok <aland at deployingradius.com>
wrote:
> lowbassman at gmail.com wrote:
> > I've enabled "detail auth_log" and "detail reply_log" (it'd be great
> > if there was a way to tie auths and replies together from the
> > different log files somehow) and FreeRadius is creating new logs each
> > day. I'm assuming that I'll need to take care of removing old logs on
> > my own? Otherwise I'll be filling my disk up pretty quickly.
>
> Yes. See logrotate, or any one of many log rotation tools.
Right, I'm familiar with logrotate. The problem is that FreeRadius is
rotating the logs already and I don't know of a way to get logrotate to just
keep track of a set number of logfiles that it doesn't rotate itself. ie.,
"keep 10 logfiles only"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20080717/53ab48bb/attachment.html>
More information about the Freeradius-Users
mailing list