From 7f5cf9e89f0a17f797985248b631e03f23a423a6 Mon Sep 17 00:00:00 2001 From: Sebastian Fischmeister Date: Tue, 13 May 2014 19:22:38 +2000 Subject: [PATCH] Re: Log of tagging actions --- fe/60b346b7dbdca626a0bef68624487a516cec05 | 91 +++++++++++++++++++++++ 1 file changed, 91 insertions(+) create mode 100644 fe/60b346b7dbdca626a0bef68624487a516cec05 diff --git a/fe/60b346b7dbdca626a0bef68624487a516cec05 b/fe/60b346b7dbdca626a0bef68624487a516cec05 new file mode 100644 index 000000000..6b126e6c5 --- /dev/null +++ b/fe/60b346b7dbdca626a0bef68624487a516cec05 @@ -0,0 +1,91 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by olra.theworths.org (Postfix) with ESMTP id 104BF431FBD + for ; Mon, 12 May 2014 16:24:31 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: -2.3 +X-Spam-Level: +X-Spam-Status: No, score=-2.3 tagged_above=-999 required=5 + tests=[RCVD_IN_DNSWL_MED=-2.3] autolearn=disabled +Received: from olra.theworths.org ([127.0.0.1]) + by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id 2zhLJOCa-aWp for ; + Mon, 12 May 2014 16:24:27 -0700 (PDT) +Received: from mailchk-m06.uwaterloo.ca (mailservices.uwaterloo.ca + [129.97.128.141]) + (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id 263E0431FAF + for ; Mon, 12 May 2014 16:24:27 -0700 (PDT) +Received: from connect.uwaterloo.ca (connhub2.connect.uwaterloo.ca + [129.97.149.119]) + by mailchk-m06.uwaterloo.ca (8.14.4/8.14.4) with ESMTP id + s4CNO9V9018263 + (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=OK); + Mon, 12 May 2014 19:24:10 -0400 +Received: from uwaterloo.ca (23.91.170.250) by connhub2.connect.uwaterloo.ca + (129.97.149.119) with Microsoft SMTP Server (TLS) id 14.3.181.6; + Mon, 12 May 2014 19:24:09 -0400 +From: Sebastian Fischmeister +To: Tomi Ollila , Istvan Marko , + +Subject: Re: Log of tagging actions +In-Reply-To: +References: <871tw5n0ml.fsf@uwaterloo.ca> + +User-Agent: Notmuch/0.17 (http://notmuchmail.org) Emacs/24.3.1 + (x86_64-unknown-linux-gnu) +X-Homepage: http://esg.uwaterloo.ca +Date: Mon, 12 May 2014 19:22:38 -0400 +Message-ID: <871tvy4m69.fsf@uwaterloo.ca> +MIME-Version: 1.0 +Content-Type: text/plain +X-UUID: 6c784e04-ee24-4b8d-8db7-c3cb74c114f8 +X-Miltered: at mailchk-m06 with ID 53715819.001 by Joe's j-chkmail + (http://j-chkmail.ensmp.fr)! +X-Virus-Scanned: clamav-milter 0.98.1 at mailchk-m06 +X-Virus-Status: Clean +X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 + (mailchk-m06.uwaterloo.ca [129.97.128.141]); + Mon, 12 May 2014 19:24:11 -0400 (EDT) +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.13 +Precedence: list +Reply-To: sfischme@uwaterloo.ca +List-Id: "Use and development of the notmuch mail system." + +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +X-List-Received-Date: Mon, 12 May 2014 23:24:31 -0000 + +> I use a C wrapper to do the same (with date prefixes like 2014-05-09 +> (Fri) 12:47:19) -- I originally did it to do argument conversions +> around .. to have date-based searches before those came to notmuch +> (and I am still using it, as I don't have to type date: prefix) + +Having a wrapper script possible, however, it is quite a hack and +doesn't potentially collect everything. There's already a +.notmuch-config file, so adding a logging directive should be +straightforward. It's more about whether something like this becomes +part of notmuch directly. + +>> Would be nice to be able to log all operations done via libnotmuch +>> too though. +> +> IIRC someone suggested/asked whether we'd get logs where all +> Message-ID:s affected were logged. That could be useful (and produce +> lot of log when one does notmuch tag +foobar '*') + +I'm not worried about the size of the logfiles. Drives are large and +many utilities exist to create a rolling removal and compression of log +files. + + Sebastian -- 2.26.2