From owner-freebsd-questions@FreeBSD.ORG Wed Jan 14 09:57:46 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E481734F for ; Wed, 14 Jan 2015 09:57:46 +0000 (UTC) Received: from mail.cs.ait.ac.th (mail.cs.ait.ac.th [192.41.170.16]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8DC88871 for ; Wed, 14 Jan 2015 09:57:46 +0000 (UTC) Received: from mail.cs.ait.ac.th (localhost [127.0.0.1]) by mail.cs.ait.ac.th (Postfix) with ESMTP id 70E8E160B14 for ; Wed, 14 Jan 2015 16:49:15 +0700 (ICT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cs.ait.ac.th; h= content-type:content-type:mime-version:message-id:date:date :subject:subject:from:from:received:received:received; s= selector1; t=1421228954; x=1423043355; bh=N+si0WxZYTOwUmXzXboWYO WkcOS7bMs2FD55Ig83z4Q=; b=KpH/nYaVI0ELjMWByo8xPQNVwGXWR+guukk3l0 rDvMI0PgIzefDabBrwWXZbz7Jrwjoc4nXoNPP2gvl2BE+ttOPLipzIRBVewvcbmh RhmzKPvRdI4440oPgDyZH2ZPnGd/KOQ5d0NxmkU0TtAEcHOB3IjOu4Srm/dKEAdw qsI00= X-Virus-Scanned: amavisd-new at cs.ait.ac.th Received: from mail.cs.ait.ac.th ([127.0.0.1]) by mail.cs.ait.ac.th (mail.cs.ait.ac.th [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id GX8qmhnTnMIJ for ; Wed, 14 Jan 2015 16:49:14 +0700 (ICT) Received: from banyan.cs.ait.ac.th (banyan.cs.ait.ac.th [192.41.170.5]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.cs.ait.ac.th (Postfix) with ESMTPS id A1768160B12 for ; Wed, 14 Jan 2015 16:49:14 +0700 (ICT) Received: (from on@localhost) by banyan.cs.ait.ac.th (8.14.7/8.14.7/Submit) id t0E9nOtt067435; Wed, 14 Jan 2015 16:49:24 +0700 (ICT) (envelope-from on@banyan.cs.ait.ac.th) From: Olivier Nicole To: freebsd-questions@freebsd.org Subject: Rotating freeradius log Date: Wed, 14 Jan 2015 16:49:24 +0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Jan 2015 09:57:47 -0000 Hi, Is there a way to use newsyslog to rotate freeradius accounting logs? Freeradius creates accounting logs of the form /var/log/radacct/IP-ADDRESS/reply-detail-DATE and /var/log/radacct/IP-ADDRESS/auth-detail-DATE Is there a way to configure newsyslog to remove the files that are older than X days? /var/log/radacct/*/* is not working in /etc/newsyslog.conf TIA, Olivier --