Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 7CA0F200B61 for ; Tue, 9 Aug 2016 23:28:24 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 7B2F9160AA5; Tue, 9 Aug 2016 21:28:24 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id C127C160A6B for ; Tue, 9 Aug 2016 23:28:23 +0200 (CEST) Received: (qmail 45608 invoked by uid 500); 9 Aug 2016 21:28:22 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 45595 invoked by uid 99); 9 Aug 2016 21:28:22 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Aug 2016 21:28:22 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 2564D186531 for ; Tue, 9 Aug 2016 21:28:22 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.802 X-Spam-Level: X-Spam-Status: No, score=-0.802 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id sZETZNjy6fsi for ; Tue, 9 Aug 2016 21:28:20 +0000 (UTC) Received: from mail-io0-f172.google.com (mail-io0-f172.google.com [209.85.223.172]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id D536B5F4E9 for ; Tue, 9 Aug 2016 21:28:19 +0000 (UTC) Received: by mail-io0-f172.google.com with SMTP id q83so24162649iod.1 for ; Tue, 09 Aug 2016 14:28:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=VCzTnvLFDhLkFvMln1d7mrifKN0FTxLsPdEdbLzBLow=; b=zX0/RNW5LoEecQwRo2vHkKD9t5O2by2wCIUZWcXynZ8Av0rm36crlzpMNutDoCd7v/ 2EEjlVlOdl98qdHTjPA7B//nPIaJ31lojx85D6N3ORzlB4d6XOydwVg94qa2QbrAm+25 eDVrc1bM3d4bDmbW15ltzAGQuQZLzgdDwfiPvXp4oWDmYRHT8trpawC9oHiWTZCL/MtT mDIdTP2fX9LoVDjB9pjnFLn8FOPCUle8rxAydnYLfcQPDhXkVNAMZ/aj6bDrXofJ0cPl VttsrfbU66A80j3jjbSFWu8r8H9AaQfXFgBjPqA4pGrXh9nz+n5JW6NYBjyf6RI5XVLQ k6LQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=VCzTnvLFDhLkFvMln1d7mrifKN0FTxLsPdEdbLzBLow=; b=OyaPr8rdqSk/tEXLskddIaUx8lJp0azTb0HMl11Z35lQm54I55x6Q8tQ5O9FKZuzy6 X2kkSxeCm1YvTfMQKib3PlcST8S6Lxf1aIfhu3A+lAnCN7RmTwTMhNqS0sRgIbN7uoa1 IOjYpiPuGV/WtKmUlhTtSIUXJuCPJA59ajg2FX3mFdRmHp0t08Nz4yrsaZv27JqFhYEp mQQwZKbrd9QilaA2pJ1btP22WqF0STv9LX8I6/vyw7W8LgubLuXxX5b1OpoF/2XTbIQg ZAZDEKorCvevzRNvjPxa77mVPGVOSZuFXppxeeW9kU+yfMEECmIqC6ERBvirgi1w/Tyz PUZA== X-Gm-Message-State: AEkoouuz10yIUOPcD1/EwOSQ8a6h8b7Wqx0+MUtizr7sqquYyKVFOpFsV0i1VEzWAmPPEcBTJ+au7aeLpLvwLg== X-Received: by 10.107.47.152 with SMTP id v24mr1441927iov.154.1470778099102; Tue, 09 Aug 2016 14:28:19 -0700 (PDT) MIME-Version: 1.0 Received: by 10.36.144.198 with HTTP; Tue, 9 Aug 2016 14:28:18 -0700 (PDT) In-Reply-To: References: <1616023657.515.1470166657892.JavaMail.Joan@Brain> <926DF775-71CB-4DA3-A14F-C5AECC7EA1ED@gmail.com> <820205773.517.1470170303333.JavaMail.Joan@Brain> <1470732742.2570386.690028481.71307F39@webmail.messagingengine.com> <31135394.279.1470768325982.JavaMail.Joan@RITA> <5FCE94B6-81A2-4349-BE10-5C980E30F219@jan.io> From: Alexander Shorin Date: Wed, 10 Aug 2016 00:28:18 +0300 Message-ID: Subject: Re: [PROPOSAL] CouchDB 2.0 log to ./var/log/couchdb.log by default To: "dev@couchdb.apache.org" Content-Type: text/plain; charset=UTF-8 archived-at: Tue, 09 Aug 2016 21:28:24 -0000 I actually not sure what happens in stdout and do we really need that. Good size of stderr is that it's the only source that can reveal startup crashes, before couch_log will be initialized to write anything to file. -- ,,,^..^,,, On Wed, Aug 10, 2016 at 12:22 AM, Paul Davis wrote: > Meh. Just create a stdout module that proxies calls to stderr (or vice > versa) and then just make a config thing at the top. Should be as > simple as I first thought that way. > > On Tue, Aug 9, 2016 at 4:22 PM, Paul Davis wrote: >> New logging also doesn't actually have stdout as an option but that'd >> be a trivial change to make. Though the name of the writer could be >> weird. >> >> On Tue, Aug 9, 2016 at 4:06 PM, Alexander Shorin wrote: >>> On Tue, Aug 9, 2016 at 10:00 PM, Jan Lehnardt wrote: >>>> I'd say we keep 1.x behaviour of logging to file by default with an option to override to stdX for the envs that want that. >>> >>> Actually, 1.x behaviour is about to log both to stdout/stderr and file >>> at the same time. Package maintainers actually just suppress >>> stdout/stderr because we already have a file logging. Those options -o >>> and -e about to redirect stdout/stderr to specific files, but this >>> doesn't overrides file logging. >>> >>> -- >>> ,,,^..^,,,