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 297E2431FDF for ; Sat, 27 Dec 2014 14:05:55 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: 0 X-Spam-Level: X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none] 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 5NjnpuqCiOpL for ; Sat, 27 Dec 2014 14:05:52 -0800 (PST) Received: from yantan.tethera.net (yantan.tethera.net [199.188.72.155]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id EC81F431FAE for ; Sat, 27 Dec 2014 14:05:51 -0800 (PST) Received: from remotemail by yantan.tethera.net with local (Exim 4.80) (envelope-from ) id 1Y4zUa-0000CZ-Un for notmuch@notmuchmail.org; Sat, 27 Dec 2014 18:05:48 -0400 Received: (nullmailer pid 1466 invoked by uid 1000); Sat, 27 Dec 2014 22:05:44 -0000 From: David Bremner To: notmuch@notmuchmail.org Subject: libnotmuch logging overhaul, round 2 Date: Sat, 27 Dec 2014 23:05:31 +0100 Message-Id: <1419717937-1108-1-git-send-email-david@tethera.net> X-Mailer: git-send-email 2.1.3 X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Dec 2014 22:05:55 -0000 This obsoletes id:1419615761-21581-1-git-send-email-david@tethera.net I added the promised "save a string in notmuch_database_t" logging backend, and ended up reorganizing things a bit, since the special casing required for _{create,open} a database seemed to naturally come first. One thing that I can't overemphasize here is that this series does not (yet) include most of the changes needed to the CLI to recover these error messages. afaict that will involve adding lots (?) of fputs to error handling paths.