Release Name: 1.0.0
Notes:
clogger 1.0.0 - \o/
Clogger is Rack middleware for logging HTTP requests. The log format
is customizable so you can specify exactly which fields to log.
* http://clogger.rubyforge.org/
* clogger@librelist.com
* git://bogomips.org/clogger.git
Changes:
* $time_iso8601 added for nginx compatibility
* $time_local (without strftime-options) is now locale-independent
There's also a minor usability tweak that allows Symbols to be
specified as the :format argument, so config.ru can be shortened:
before (continues to work with 1.0.0):
use Clogger, :format => Clogger::Format::Rack_1_0
after:
use Clogger, :format => :Rack_1_0
Changes:
GIT-VERSION-GEN | 2 +-
README | 9 ++--
ext/clogger_ext/clogger.c | 88 ++++++++++++++++++++++++++++++++++++++++++-
ext/clogger_ext/extconf.rb | 1 -
lib/clogger.rb | 8 ++-
lib/clogger/pure.rb | 14 +++++++
test/test_clogger.rb | 74 ++++++++++++++++++++++++++++++++++++-
7 files changed, 182 insertions(+), 14 deletions(-)
commit edd2bd2b3baa9cca40dcd8717b338076f09d0807
Author: Eric Wong
Date: Thu Apr 21 04:02:57 2011 +0000
clogger 1.0.0 - \o/
* $time_iso8601 added for nginx compatibility
* $time_local (without strftime-options) is now locale-independent
There's also a minor usability tweak that allows Symbols to be
specified as the :format argument, so config.ru can be shortened:
before (continues to work with 1.0.0):
use Clogger, :format => Clogger::Format::Rack_1_0
after:
use Clogger, :format => :Rack_1_0
commit b7459a293c1b3efe3f5be4201620af885bb8122e
Author: Eric Wong
Date: Tue Apr 19 00:33:48 2011 +0000
README: stop promoting strftime()-compatible formats
strftime() isn't locale-independent, so it can lead to
inconsistencies in logs.
commit 0a2cb5093f7fbba370fd9b6caaf308139220b47b
Author: Eric Wong
Date: Tue Apr 19 00:28:08 2011 +0000
$time_local and $time_utc are locale-independent
This doesn't apply to people that use strftime()-formats,
but that's a minority.
commit 8303d477a13a63e6b28666e04b0c62886feae48e
Author: Eric Wong
Date: Sat Apr 16 02:03:34 2011 +0000
add support for $time_iso8601 format
This appeared in nginx 0.9.6
commit a84b132f51bd011f3c3441c28d23ff9c1029a9f8
Author: Eric Wong
Date: Mon Mar 21 14:10:07 2011 -0700
extconf: unnecessary dir_config statement
Braindamage from back in the day when I didn't understand mkmf
commit b086541910c5797732886c7f0d276871f2775d08
Author: Eric Wong
Date: Wed Mar 16 16:35:40 2011 -0700
:format may be a Symbol for less typing
This allows using:
use Clogger, :format => :Rack_1_0
Instead of:
use Clogger, :format => Clogger::Format::Rack_1_0
commit 9102cb13084980f1899b488627b354fc16bc38eb
Author: Eric Wong
Date: Wed Mar 16 14:56:19 2011 -0700
fix documentation of Clogger.new for :path
Oops
commit 21be17fd1307e1e194a3089f0e3317a5948088e7
Author: Eric Wong
Date: Tue Mar 15 19:21:02 2011 +0000
README: misspelled "discusssion"
|