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 023B5958C for ; Tue, 27 Mar 2012 11:34:25 +0000 (UTC) Received: (qmail 65555 invoked by uid 500); 27 Mar 2012 11:34:24 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 65514 invoked by uid 500); 27 Mar 2012 11:34:24 -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 65505 invoked by uid 99); 27 Mar 2012 11:34:24 -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:34:24 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [209.85.215.180] (HELO mail-ey0-f180.google.com) (209.85.215.180) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Mar 2012 11:34:18 +0000 Received: by eaal12 with SMTP id l12so1712093eaa.11 for ; Tue, 27 Mar 2012 04:33:56 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:in-reply-to:references:date :message-id:subject:from:to:content-type:content-transfer-encoding :x-gm-message-state; bh=jwl96doUlLN+C4j05c8wBaqPlbS8LpCnZL+K/BMXr2o=; b=PIeDa0bsyUin0b0Xqw6YWv0WZAMvVnW2JRoQ7BmG3d6qjmaM64MBSg+LEL/s9rtbix rATylhK53zVJazzpdXQ5A9ip4n/fh7IHVumGnvyBsBSt+2R6GhzdRazTdBkVm4rZuvA3 6z8i4Xxb9deS4J6bZFtHC9KOCQJ7W1Bxm8ljMrXJjttBUBDrzX109Hciiv8SfviGCuM5 V66SLfOM8rN95PzNKkVVWhSJzsHlwZwrk+l9qCkdFbfx0EPPv1z2DwwafH4rmMoxDnhf 8B4E9Nx6dV3JaSNmrgHH55WBGWd0d+x84KMiXTL74jP8wj0249aeunedXm3g9cntHr5/ M48w== MIME-Version: 1.0 Received: by 10.14.94.142 with SMTP id n14mr3314276eef.99.1332848036101; Tue, 27 Mar 2012 04:33:56 -0700 (PDT) Received: by 10.213.2.211 with HTTP; Tue, 27 Mar 2012 04:33:56 -0700 (PDT) X-Originating-IP: [81.23.57.130] In-Reply-To: References: Date: Tue, 27 Mar 2012 12:33:56 +0100 Message-ID: Subject: Re: Cycling log files From: Jonathan Williamson To: user@couchdb.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Gm-Message-State: ALoCoQlK7rTlENzDpiyej+k9pO8RoVUxVtF42nxeWBerUkvN6pFu0UBlXZR5qiuAXbPait1688do X-Virus-Checked: Checked by ClamAV on apache.org Hi Martin, What platform are you on? Can you use standard log rotation? On Ubuntu/Debian you'd do something like: sudo ln -s /usr/local/etc/logrotate.d/couchdb /etc/logrotate.d/couchdb On Tue, Mar 27, 2012 at 12:31 PM, Martin Hewitt wrote: > > Hi all, > > Is there a way to cycle the CouchDB log file, or set up a maximum size fo= r it? > > Thanks, > > Martin > -- Jon Jonathan Williamson Systems Architect ::::::::::::::::::::::::::::::::::::::::::: +44 (0) 7843 301 246 =A0mobile +44 (0) 208 242 6364 =A0switch www.netcopy.co.uk :::::::::::::::::::::::::::::::::::::::::: 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