From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-4.0 required=3.0 tests=ALL_TRUSTED,BAYES_00 shortcircuit=no autolearn=ham autolearn_force=no version=3.4.0 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 988E81FF30; Tue, 23 May 2017 08:46:52 +0000 (UTC) Date: Tue, 23 May 2017 08:46:52 +0000 From: Eric Wong To: clogger-public@bogomips.org, ruby-talk@ruby-lang.org Cc: Pat Allan Subject: [ANN] clogger 2.2.0 - configurable request logging for Rack Message-ID: <20170523084652.GA23040@dcvr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline List-Id: Clogger is Rack middleware for logging HTTP requests. The log format is customizable so you can specify exactly which fields to log. * https://bogomips.org/clogger/ * mail archives: https://bogomips.org/clogger-public/ * email us: clogger-public@bogomips.org (publically archived) * git clone https://bogomips.org/clogger.git * git clone git://bogomips.org/clogger * https://bogomips.org/clogger/NEWS.atom.xml Changes: clogger v2.2.0 - Rack 2.x compatibility fix This release fixes a Rack compatibility problem when Rack::BodyProxy wraps the Clogger object and calls "respond_to?" with two arguments. This affects folks who put Clogger at lower levels of the middleware stack (below middlewares which use Rack::BodyProxy) A huge thanks to Pat Allan for coming up with this fix. Note, the recommended usage of clogger middleware is to have it at the outermost layer of the Rack middleware stack where it can give the most accurate $request_time measurement. There's also a couple of tiny internal improvements around the build and miniscule GC overhead reduction. Pat Allan (1): Update respond_to? calls for second argument. Eric Wong (3): clogger.c: comment to explain the lack of GC guard ext: reduce frozen string marking overhead build: remove build-time olddoc dependency -- clogger v2.2.0