Release Name: 0.0.2
Notes:
Clogger is Rack middleware for logging HTTP requests. The log format
is customizable so you can specify exactly which fields to log.
The $request_uri variable (as documented in the README) is now
implemented. Those using C extension could potentially segfault
if the app returned an invalid response; we now log 500 errors
in their place.
Changes:
GNUmakefile | 43 +++++++++++++++++++++++++-
History.txt | 7 ++++
ext/clogger_ext/clogger.c | 73 +++++++++++++++++++++++++++++++++++---------
lib/clogger.rb | 3 +-
lib/clogger/pure.rb | 18 ++++++++++-
test/test_clogger.rb | 27 ++++++++++++++++
6 files changed, 151 insertions(+), 20 deletions(-)
commit d7cbdb6d59434145ed7293f97578feea83a47bc2
Author: Eric Wong <normalperson@yhbt.net>
Date: Sat Aug 29 13:52:37 2009 -0700
clogger 0.0.2
commit 4cae518fd0b2ba81114ed4cc26eb1704a1f71e28
Author: Eric Wong <normalperson@yhbt.net>
Date: Sat Aug 29 13:39:58 2009 -0700
Log bad/invalid app responses as 500 errors
Some misbehaved apps can do this to us, and we don't want
the C extension to segfault when this happens.
commit c03045ecde0f3270d7458ba7ac0d76a25afc6fb2
Author: Eric Wong <normalperson@yhbt.net>
Date: Sat Aug 29 13:35:22 2009 -0700
support "$request_uri" as a log variable
This was documented in the README but never implemented. Some
popular web servers set REQUEST_URI even though it's not
required by Rack, so allow this variable to be used if possible.
As a side effect, it is also less likely to be modified by
certain handlers (*cough*Rails::Rack::Static*cough*).
commit 46a176a741ad4d19d81946b4232c0c26fb8bdbc8
Author: Eric Wong <normalperson@yhbt.net>
Date: Sat Aug 29 12:45:45 2009 -0700
GNUmakefile: "release" steps
|