Return-Path: X-Original-To: apmail-couchdb-user-archive@www.apache.org Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9EE859637 for ; Tue, 27 Mar 2012 11:36:08 +0000 (UTC) Received: (qmail 73261 invoked by uid 500); 27 Mar 2012 11:36:06 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 73219 invoked by uid 500); 27 Mar 2012 11:36:06 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 73211 invoked by uid 99); 27 Mar 2012 11:36:06 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Mar 2012 11:36:06 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [87.117.198.154] (HELO zoe.mltserver-three.co.uk) (87.117.198.154) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Mar 2012 11:36:01 +0000 Received: from host109-158-48-246.range109-158.btcentralplus.com ([109.158.48.246] helo=[10.0.0.6]) by zoe.mltserver-three.co.uk with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.69) (envelope-from ) id 1SCUgc-0002Hb-Op for user@couchdb.apache.org; Tue, 27 Mar 2012 12:35:38 +0100 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1084) Subject: Re: Cycling log files From: Martin Hewitt In-Reply-To: Date: Tue, 27 Mar 2012 12:35:36 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: References: To: user@couchdb.apache.org X-Mailer: Apple Mail (2.1084) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - zoe.mltserver-three.co.uk X-AntiAbuse: Original Domain - couchdb.apache.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - thenoi.se X-Virus-Checked: Checked by ClamAV on apache.org Ah, thanks Jon, that looks useful. I'm on CentOS, but I wasn't sure if = there was something built-in to CouchDB to do this. Will give that a whirl, thanks! Martin=20 On 27 Mar 2012, at 12:33, Jonathan Williamson wrote: > Hi Martin, >=20 > What platform are you on? Can you use standard log rotation? On > Ubuntu/Debian you'd do something like: >=20 > sudo ln -s /usr/local/etc/logrotate.d/couchdb /etc/logrotate.d/couchdb >=20 > On Tue, Mar 27, 2012 at 12:31 PM, Martin Hewitt = wrote: >>=20 >> Hi all, >>=20 >> Is there a way to cycle the CouchDB log file, or set up a maximum = size for it? >>=20 >> Thanks, >>=20 >> Martin >>=20 >=20 >=20 >=20 > -- > Jon >=20 > Jonathan Williamson > Systems Architect > ::::::::::::::::::::::::::::::::::::::::::: > +44 (0) 7843 301 246 mobile > +44 (0) 208 242 6364 switch >=20 > www.netcopy.co.uk > :::::::::::::::::::::::::::::::::::::::::: >=20 > IMPORTANT NOTICE: > = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > Netcopy Limited is a Company registered in England and Wales under > Company No. 07308350 > Registered office: 2 East Common, Harpenden, Herts, AL5 1BJ > The contents of this email (and any attachment): > (1) are confidential and may be legally privileged - if it is not > meant for you, please tell the sender, do not forward or copy the > contents and delete it from your system immediately; > (2) come from its author and may not necessarily reflect the opinions > of Netcopy Ltd. > While emails and attachments are virus checked, we cannot accept any > liability in respect of any viruses. > We may monitor emails sent to Netcopy. > Want to know more about Netcopy? > Visit our website: www.netcopy.co.uk